Package org.ametys.odf.content
Class AdditionalOdfContentPropertiesGenerator
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.generation.AbstractGenerator
org.apache.cocoon.generation.ServiceableGenerator
org.ametys.odf.content.AdditionalOdfContentPropertiesGenerator
- All Implemented Interfaces:
Poolable,Recyclable,Disposable,Component,LogEnabled,Serviceable,Generator,SitemapModelComponent,XMLProducer
Generates additional information about a ODF content
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ODFHelperThe ODF helperprotected AmetysObjectResolverThe AmetysObject resolver.Fields inherited from class org.apache.cocoon.generation.ServiceableGenerator
managerFields inherited from class org.apache.cocoon.generation.AbstractGenerator
objectModel, parameters, resolver, sourceFields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void_saxChildProgramItems(ProgramItem programItem) SAX the child program itemsprotected void_saxProgramItem(ProgramItem item) Sax a program itemprotected void_saxProgramItemAncestorPaths(ProgramItem programItem) SAX all paths of program itemvoidgenerate()protected voidsaxProgramItemProperties(ProgramItem programItem) SAX specifics properties for a program itemvoidservice(ServiceManager serviceManager) Methods inherited from class org.apache.cocoon.generation.ServiceableGenerator
disposeMethods inherited from class org.apache.cocoon.generation.AbstractGenerator
recycle, setupMethods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
setConsumer, setContentHandler, setLexicalHandlerMethods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
-
Field Details
-
_resolver
The AmetysObject resolver. -
_odfHelper
The ODF helper
-
-
Constructor Details
-
AdditionalOdfContentPropertiesGenerator
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classServiceableGenerator- Throws:
ServiceException
-
generate
-
saxProgramItemProperties
SAX specifics properties for a program item- Parameters:
programItem- the program item- Throws:
SAXException- if an error occurs while saxing
-
_saxProgramItemAncestorPaths
SAX all paths of program item- Parameters:
programItem- The program item- Throws:
SAXException- if an error occurs while saxing
-
_saxChildProgramItems
SAX the child program items- Parameters:
programItem- the program item- Throws:
SAXException- if an error occurs while saxing
-
_saxProgramItem
Sax a program item- Parameters:
item- the program item- Throws:
SAXException- if an error occurs while saxing
-