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 Modifier and Type Field Description static String
ALL_ITEMS_REFERENCE
The name of item reference to add all itemsstatic String
DEFAULT_GROUP_TAG_NAME
Default tag name for simple groupsstatic String
DEFAULT_ITEM_REF_TAG_NAME
Default tag name for item references
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description View
parseView(Configuration viewConfiguration)
Parses a view configuration to create aView
object.
-
-
-
Field Detail
-
DEFAULT_GROUP_TAG_NAME
static final String DEFAULT_GROUP_TAG_NAME
Default tag name for simple groups- See Also:
- Constant Field Values
-
DEFAULT_ITEM_REF_TAG_NAME
static final String DEFAULT_ITEM_REF_TAG_NAME
Default tag name for item references- See Also:
- Constant Field Values
-
ALL_ITEMS_REFERENCE
static final String ALL_ITEMS_REFERENCE
The name of item reference to add all items- See Also:
- Constant Field Values
-
-
Method Detail
-
parseView
View parseView(Configuration viewConfiguration) throws ConfigurationException
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.
-
-