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 StringALL_ITEMS_REFERENCEThe name of item reference to add all itemsstatic StringDEFAULT_GROUP_TAG_NAMEDefault tag name for simple groupsstatic StringDEFAULT_ITEM_REF_TAG_NAMEDefault tag name for item references 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ViewparseView(Configuration viewConfiguration)Parses a view configuration to create aViewobject. 
 - 
 
- 
- 
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 aViewobject.- Parameters:
 viewConfiguration- the configuration of the view to parse- Returns:
 - the view
 - Throws:
 ConfigurationException- if the configuration is not valid.
 
 - 
 
 -