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
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionact
(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) getAttributeInfo
(Map.Entry<String, ModelItem> attributeEntry) Generates aMap
with information about the given attribute The returned information are the attribute's name and labelvoid
service
(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:
service
in interfaceServiceable
- Overrides:
service
in classServiceableAction
- Throws:
ServiceException
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception - Throws:
Exception
-
getAttributeInfo
Generates aMap
with 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
Map
with the attribute's information
-