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.
|
protected RightManager |
_rightManager
the Ametys rights manager
|
private TagProviderExtensionPoint |
_tagProviderEP |
managerobjectModel, parameters, resolver, sourcecontentHandler, 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
|
private void |
_saxRepositoryRights() |
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) |
disposerecycle, setupsetConsumer, setContentHandler, setLexicalHandlerenableLogging, getLogger, setupLogger, setupLogger, setupLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetConsumerprotected AmetysObjectResolver _resolver
protected RightManager _rightManager
private ContentTypeExtensionPoint _contentTypeEP
private TagProviderExtensionPoint _tagProviderEP
public AdditionalContentPropertiesGenerator()
public void service(ServiceManager serviceManager) throws ServiceException
service in interface Serviceableservice in class ServiceableGeneratorServiceExceptionpublic void generate() throws IOException, SAXException, ProcessingException
private void _saxRepositoryRights() throws SAXException
SAXExceptionprotected 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