Package org.ametys.cms.content
Class AdditionalContentPropertiesGenerator
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.AdditionalContentPropertiesGenerator
- All Implemented Interfaces:
Poolable,Recyclable,Disposable,Component,LogEnabled,Serviceable,Generator,SitemapModelComponent,XMLProducer
- Direct Known Subclasses:
AdditionalWebContentPropertiesGenerator
Generates addition information on content
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AmetysObjectResolverThe AmetysObject resolver.protected RightManagerthe Ametys rights managerprotected TagProviderExtensionPointthe tag provider extension pointFields 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_saxContentType(ContentType cType) SAX the content type hierarchyprotected void_saxContentTypesHierarchy(Content content) SAX the content types hierarchyprotected void_saxMixin(ContentType mixin) SAX the mixin hierarchyprotected void_saxMixinsHierarchy(Content content) SAX the content types hierarchyprotected void_saxOtherProperties(Content content) SAX other additional propertiesprotected void_saxReferencingContents(Content content) Sax the referencing contentsprotected voidSAX content's tagsvoidgenerate()getContextualParameters(AmetysObject object) Get the contextual parameters for the given objectvoidservice(ServiceManager serviceManager) Methods 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
-
Field Details
-
_resolver
The AmetysObject resolver. -
_rightManager
the Ametys rights manager -
_tagProviderEP
the tag provider extension point
-
-
Constructor Details
-
AdditionalContentPropertiesGenerator
public AdditionalContentPropertiesGenerator()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classServiceableGenerator- Throws:
ServiceException
-
generate
-
_saxOtherProperties
SAX other additional properties- Parameters:
content- the content- Throws:
SAXException- if an error occurred while saxing
-
_saxTags
SAX content's tags- Parameters:
content- The content- Throws:
SAXException- if an error occurred
-
getContextualParameters
Get the contextual parameters for the given object- Parameters:
object- the object- Returns:
- the object's contextual parameters
-
_saxReferencingContents
Sax the referencing contents- Parameters:
content- The content- Throws:
SAXException- if an error occurred while saxing
-
_saxContentTypesHierarchy
SAX the content types hierarchy- Parameters:
content- The content type- Throws:
SAXException- if an error occurred while saxing
-
_saxMixinsHierarchy
SAX the content types hierarchy- Parameters:
content- The content type- Throws:
SAXException- if an error occurred while saxing
-
_saxContentType
SAX the content type hierarchy- Parameters:
cType- The content type- Throws:
SAXException- if an error occurred while saxing
-
_saxMixin
SAX the mixin hierarchy- Parameters:
mixin- The mixin type- Throws:
SAXException- if an error occurred while saxing
-