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,Component,LogEnabled,Serviceable,Generator,SitemapModelComponent,XMLProducer
public class ProgramPdfContentGenerator extends ProgramContentGenerator
-
-
Field Summary
-
Fields inherited from class org.ametys.odf.program.generators.ProgramContentGenerator
_srcResolver
-
Fields inherited from class org.ametys.odf.program.generators.ODFContentGenerator
_resolver
-
Fields inherited from class org.ametys.cms.content.ContentGenerator
_contentHelper, _contentTypeExtensionPoint, _cTypesHelper, _DC_DATE_FORMAT, _languageManager, _metadataManager, _userHelper, _userProvider, _workflowProvider, _worklflowHelper
-
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 ProgramPdfContentGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsaxContent(Content content, String metadataSetName)SAX the HTML content of aContentprotected voidsaxSubProgram(SubProgram subProgram, String parentPath)SAX a sub program-
Methods inherited from class org.ametys.odf.program.generators.ProgramContentGenerator
_addAttrIfNotEmpty, _saxOtherData, getLinkedContents, saxChildProgramPart, saxContainer, saxContent, saxCourse, saxCourseList, saxCoursePart, saxLinkedContents, saxOrgUnits, saxPersons, saxTranslation, service
-
Methods inherited from class org.ametys.odf.program.generators.ODFContentGenerator
saxTranslations
-
Methods inherited from class org.ametys.cms.content.ContentGenerator
_addAttributeIfNotNull, _generateContent, _getCurrentStep, _getMetadataSet, _saxComment, _saxComments, _saxContent, _saxContentComments, _saxContentReactions, _saxDublinCoreMetadata, _saxIfNotNull, _saxIfNotNull, _saxIfNotNull, _saxLanguage, _saxMetadata, _saxMetadataComments, _saxOtherData, _saxWorkflowStep, generate, getDefaultLocale
-
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
-
-
-
-
Constructor Detail
-
ProgramPdfContentGenerator
public ProgramPdfContentGenerator()
-
-
Method Detail
-
saxSubProgram
protected void saxSubProgram(SubProgram subProgram, String parentPath) throws SAXException
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, String metadataSetName) throws SAXException, IOException
Description copied from class:ProgramContentGeneratorSAX the HTML content of aContent- Overrides:
saxContentin classProgramContentGenerator- Parameters:
content- the contentmetadataSetName- the metadata set name- Throws:
SAXException- If an error occurred saxing the contentIOException- If an error occurred resolving the content
-
-