Package org.ametys.cms.content
Class CommentsGenerator
- All Implemented Interfaces:
Poolable,Recyclable,Disposable,Component,LogEnabled,Serviceable,Generator,SitemapModelComponent,XMLProducer
SAX the comments of a content
-
Field Summary
Fields 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 void_saxContent(Content content, Locale defaultLocale) SAX the contentMethods inherited from class org.ametys.cms.content.ContentGenerator
_generateContent, _getView, _saxOtherData, _saxOtherData, generate, getDefaultLocale, serviceMethods 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
-
Constructor Details
-
CommentsGenerator
public CommentsGenerator()
-
-
Method Details
-
_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
-