Package org.ametys.runtime.model
Interface ViewParser
- All Known Implementing Classes:
ContentTypeViewParser
public interface ViewParser
Interface for components that parse view's configuration
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionparseView
(Configuration viewConfiguration) Parses a view configuration to create aView
object.
-
Field Details
-
DEFAULT_GROUP_TAG_NAME
Default tag name for simple groups- See Also:
-
DEFAULT_ITEM_REF_TAG_NAME
Default tag name for item references- See Also:
-
ALL_ITEMS_REFERENCE
The name of item reference to add all items- See Also:
-
-
Method Details
-
parseView
Parses a view configuration to create aView
object.- Parameters:
viewConfiguration
- the configuration of the view to parse- Returns:
- the view
- Throws:
ConfigurationException
- if the configuration is not valid.
-