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
Modifier and TypeFieldDescriptionprotected AmetysObjectResolver
The AmetysObject resolver.protected RightManager
the Ametys rights managerprotected TagProviderExtensionPoint
the tag provider extension pointFields 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
-
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 void
SAX content's tagsvoid
generate()
getContextualParameters
(AmetysObject object) Get the contextual parameters for the given objectvoid
service
(ServiceManager serviceManager) 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
-
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:
service
in interfaceServiceable
- Overrides:
service
in 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
-