public class AdditionalContentPropertiesGenerator extends ServiceableGenerator
Modifier and Type | Class and Description |
---|---|
(package private) class |
AdditionalContentPropertiesGenerator.ContentTypeComparator |
Modifier and Type | Field and Description |
---|---|
private ContentTypeExtensionPoint |
_contentTypeEP |
protected AmetysObjectResolver |
_resolver
The AmetysObject resolver.
|
private TagProviderExtensionPoint |
_tagProviderEP |
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
AdditionalContentPropertiesGenerator() |
Modifier and Type | Method and Description |
---|---|
protected void |
_saxContentType(ContentType cType)
SAX the content type hierarchy
|
protected void |
_saxContentTypesHierarchy(Content content)
SAX the content types hierarchy
|
protected void |
_saxMixin(ContentType mixin)
SAX the mixin hierarchy
|
protected void |
_saxMixinsHierarchy(Content content)
SAX the content types hierarchy
|
protected void |
_saxOtherProperties(Content content)
SAX other additional properties
|
protected void |
_saxReferencingContents(Content content)
Sax the referencing contents
|
protected void |
_saxTags(Content content)
SAX content's tags
|
void |
generate() |
protected Map<String,Object> |
getContextualParameters(Content content)
Get the contextual parameters for content
|
void |
service(ServiceManager serviceManager) |
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
protected AmetysObjectResolver _resolver
private ContentTypeExtensionPoint _contentTypeEP
private TagProviderExtensionPoint _tagProviderEP
public AdditionalContentPropertiesGenerator()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableGenerator
ServiceException
public void generate() throws IOException, SAXException, ProcessingException
protected void _saxOtherProperties(Content content) throws SAXException
content
- the contentSAXException
- if an error occurred while saxingprotected void _saxTags(Content content) throws SAXException
content
- The contentSAXException
- if an error occurredprotected Map<String,Object> getContextualParameters(Content content)
content
- the contentprotected void _saxReferencingContents(Content content) throws SAXException
content
- The contentSAXException
- if an error occurred while saxingprotected void _saxContentTypesHierarchy(Content content) throws SAXException
content
- The content typeSAXException
- if an error occurred while saxingprotected void _saxMixinsHierarchy(Content content) throws SAXException
content
- The content typeSAXException
- if an error occurred while saxingprotected void _saxContentType(ContentType cType) throws SAXException
cType
- The content typeSAXException
- if an error occurred while saxingprotected void _saxMixin(ContentType mixin) throws SAXException
mixin
- The mixin typeSAXException
- if an error occurred while saxing