Class GetEligibleMetadataList
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.ServiceableAction
org.ametys.plugins.odfweb.actions.GetEligibleMetadataList
- All Implemented Interfaces:
Component,LogEnabled,Serviceable,Action
Action providing the list of eligible enumerated metadata for ODF page level
-
Field Summary
FieldsFields inherited from class org.apache.cocoon.acting.ServiceableAction
managerFields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionact(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) getAttributeInfo(Map.Entry<String, ModelItem> attributeEntry) Generates aMapwith information about the given attribute The returned information are the attribute's name and labelvoidservice(ServiceManager serviceManager) Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
_odfRootHandler
The ODF root page handler.
-
-
Constructor Details
-
GetEligibleMetadataList
public GetEligibleMetadataList()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classServiceableAction- Throws:
ServiceException
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception - Throws:
Exception
-
getAttributeInfo
Generates aMapwith information about the given attribute The returned information are the attribute's name and label- Parameters:
attributeEntry- The attribute's entry with its path as a key and its definition as a value- Returns:
- a
Mapwith the attribute's information
-