Package org.ametys.cms.content
Class CommentsGenerator
- 
- All Implemented Interfaces:
 Poolable,Recyclable,Disposable,Component,LogEnabled,Serviceable,Generator,SitemapModelComponent,XMLProducer
public class CommentsGenerator extends ContentGenerator
SAX the comments of a content 
- 
- 
Field Summary
- 
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 CommentsGenerator() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void_saxContent(Content content, Locale defaultLocale)SAX the content- 
Methods inherited from class org.ametys.cms.content.ContentGenerator
_addAttributeIfNotNull, _generateContent, _getCurrentStep, _getMetadataSet, _saxComment, _saxComments, _saxContentComments, _saxContentReactions, _saxDublinCoreMetadata, _saxIfNotNull, _saxIfNotNull, _saxIfNotNull, _saxLanguage, _saxMetadata, _saxMetadataComments, _saxOtherData, _saxOtherData, _saxWorkflowStep, generate, getDefaultLocale, service 
- 
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
- 
CommentsGenerator
public CommentsGenerator()
 
 - 
 
- 
Method Detail
- 
_saxContent
protected void _saxContent(Content content, Locale defaultLocale) throws SAXException, IOException, ProcessingException
Description copied from class:ContentGeneratorSAX the content- Overrides:
 _saxContentin classContentGenerator- Parameters:
 content- The content to SAXdefaultLocale- The default locale to use to sax localized values if the content's language is null.- Throws:
 SAXException- if an error occurs while SAXingIOException- if an error occursProcessingException- if an error occurs
 
 - 
 
 -