Class ProgramPdfContentGenerator
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.cms.content.ContentGenerator
org.ametys.odf.program.generators.ODFContentGenerator
org.ametys.odf.program.generators.ProgramContentGenerator
org.ametys.odf.program.generators.ProgramPdfContentGenerator
- All Implemented Interfaces:
 Poolable,Recyclable,Disposable,Initializable,Component,LogEnabled,Serviceable,Generator,SitemapModelComponent,XMLProducer
- 
Field Summary
Fields inherited from class org.ametys.odf.program.generators.ProgramContentGenerator
_contentHelper, _odfHelper, _srcResolverFields inherited from class org.ametys.odf.program.generators.ODFContentGenerator
_resolverFields inherited from class org.ametys.cms.content.ContentGenerator
_contentSaxer, _contentTypeExtensionPoint, _cTypesHelper, _DC_DATE_FORMATFields 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 voidsaxContent(Content content, ContentHandler handler, String viewName) SAX the HTML content of aContentprotected voidsaxSubProgram(SubProgram subProgram, String parentPath) SAX a sub programMethods inherited from class org.ametys.odf.program.generators.ProgramContentGenerator
_addAttrIfNotEmpty, _saxOtherData, getLinkedContents, initialize, recycle, saxChildProgramPart, saxContainer, saxContent, saxCourse, saxCourseList, saxCoursePart, saxLinkedContents, saxOrgUnits, saxPersons, saxTranslation, service, setupMethods inherited from class org.ametys.odf.program.generators.ODFContentGenerator
saxTranslationsMethods inherited from class org.ametys.cms.content.ContentGenerator
_generateContent, _getView, _saxAttributesComments, _saxContent, _saxOtherData, generate, getDefaultLocaleMethods inherited from class org.apache.cocoon.generation.ServiceableGenerator
disposeMethods 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 
- 
Constructor Details
- 
ProgramPdfContentGenerator
public ProgramPdfContentGenerator() 
 - 
 - 
Method Details
- 
saxSubProgram
SAX a sub program- Overrides:
 saxSubProgramin classProgramContentGenerator- Parameters:
 subProgram- the sub program to SAXparentPath- the parent path- Throws:
 SAXException- if an error occurs
 - 
saxContent
protected void saxContent(Content content, ContentHandler handler, String viewName) throws SAXException, IOException Description copied from class:ProgramContentGeneratorSAX the HTML content of aContent- Overrides:
 saxContentin classProgramContentGenerator- Parameters:
 content- the contenthandler- theContentHandlerto send SAX events to.viewName- the view name- Throws:
 SAXException- If an error occurred saxing the contentIOException- If an error occurred resolving the content
 
 -