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
public class AdditionalOdfContentPropertiesGenerator extends ServiceableGenerator
Generates additional information about a ODF content 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected ODFHelper_odfHelperThe ODF helperprotected AmetysObjectResolver_resolverThe AmetysObject resolver.- 
Fields inherited from class org.apache.cocoon.generation.ServiceableGenerator
manager 
- 
Fields inherited from class org.apache.cocoon.generation.AbstractGenerator
objectModel, parameters, resolver, source 
- 
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer 
 - 
 
- 
Constructor Summary
Constructors Constructor Description AdditionalOdfContentPropertiesGenerator() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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
dispose 
- 
Methods inherited from class org.apache.cocoon.generation.AbstractGenerator
recycle, setup 
- 
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
setConsumer, setContentHandler, setLexicalHandler 
- 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer 
 - 
 
 - 
 
- 
- 
Field Detail
- 
_resolver
protected AmetysObjectResolver _resolver
The AmetysObject resolver. 
- 
_odfHelper
protected ODFHelper _odfHelper
The ODF helper 
 - 
 
- 
Constructor Detail
- 
AdditionalOdfContentPropertiesGenerator
public AdditionalOdfContentPropertiesGenerator()
 
 - 
 
- 
Method Detail
- 
service
public void service(ServiceManager serviceManager) throws ServiceException
- Specified by:
 servicein interfaceServiceable- Overrides:
 servicein classServiceableGenerator- Throws:
 ServiceException
 
- 
generate
public void generate() throws IOException, SAXException, ProcessingException
 
- 
saxProgramItemProperties
protected void saxProgramItemProperties(ProgramItem programItem) throws SAXException
SAX specifics properties for a program item- Parameters:
 programItem- the program item- Throws:
 SAXException- if an error occurs while saxing
 
- 
_saxProgramItemAncestorPaths
protected void _saxProgramItemAncestorPaths(ProgramItem programItem) throws SAXException
SAX all paths of program item- Parameters:
 programItem- The program item- Throws:
 SAXException- if an error occurs while saxing
 
- 
_saxChildProgramItems
protected void _saxChildProgramItems(ProgramItem programItem) throws SAXException
SAX the child program items- Parameters:
 programItem- the program item- Throws:
 SAXException- if an error occurs while saxing
 
- 
_saxProgramItem
protected void _saxProgramItem(ProgramItem item) throws SAXException
Sax a program item- Parameters:
 item- the program item- Throws:
 SAXException- if an error occurs while saxing
 
 - 
 
 -