public class AdditionalWebContentPropertiesGenerator extends AdditionalContentPropertiesGenerator
| Modifier and Type | Field and Description |
|---|---|
protected SharedContentManager |
_sharedContentComponent
The shared content helper.
|
_resolvermanagerobjectModel, parameters, resolver, sourcecontentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer| Constructor and Description |
|---|
AdditionalWebContentPropertiesGenerator() |
| Modifier and Type | Method and Description |
|---|---|
private String |
_escape(String target) |
private void |
_saxContentPages(Content content) |
protected void |
_saxOtherProperties(Content content)
SAX other additional properties
|
protected void |
_saxPage(Page page,
Zone zone,
ZoneItem zoneItem)
SAX a content's page.
|
private void |
_saxSharedContent(Content content) |
protected void |
_saxTags(Page page,
AttributesImpl attrs)
SAX page's tags
|
protected Map<String,Object> |
getContextualParameters(Content content)
Get the contextual parameters for content
|
void |
service(ServiceManager serviceManager) |
_saxContentType, _saxContentTypesHierarchy, _saxMixin, _saxMixinsHierarchy, _saxReferencingContents, _saxTags, generatedisposerecycle, setupsetConsumer, setContentHandler, setLexicalHandlerenableLogging, getLogger, setupLogger, setupLogger, setupLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetConsumerprotected SharedContentManager _sharedContentComponent
public AdditionalWebContentPropertiesGenerator()
public void service(ServiceManager serviceManager) throws ServiceException
service in interface Serviceableservice in class AdditionalContentPropertiesGeneratorServiceExceptionprotected void _saxOtherProperties(Content content) throws SAXException
AdditionalContentPropertiesGenerator_saxOtherProperties in class AdditionalContentPropertiesGeneratorcontent - the contentSAXException - if an error occurred while saxingprotected Map<String,Object> getContextualParameters(Content content)
AdditionalContentPropertiesGeneratorgetContextualParameters in class AdditionalContentPropertiesGeneratorcontent - the contentprivate void _saxSharedContent(Content content) throws SAXException
SAXExceptionprivate void _saxContentPages(Content content) throws SAXException
SAXExceptionprotected void _saxPage(Page page, Zone zone, ZoneItem zoneItem) throws SAXException
page - the page to SAX.zone - the zone the content is in.zoneItem - the the zone item the content belongs to.SAXException - if an error occurs.protected void _saxTags(Page page, AttributesImpl attrs) throws AmetysRepositoryException
page - the pageattrs - the attributes to SAX intoAmetysRepositoryException - if failed to get page's tags