public class AdditionalWebContentPropertiesGenerator extends AdditionalContentPropertiesGenerator
Modifier and Type | Field and Description |
---|---|
protected SharedContentManager |
_sharedContentComponent
The shared content helper.
|
_resolver
manager
objectModel, parameters, resolver, source
contentHandler, 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, generate
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
protected SharedContentManager _sharedContentComponent
public AdditionalWebContentPropertiesGenerator()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class AdditionalContentPropertiesGenerator
ServiceException
protected void _saxOtherProperties(Content content) throws SAXException
AdditionalContentPropertiesGenerator
_saxOtherProperties
in class AdditionalContentPropertiesGenerator
content
- the contentSAXException
- if an error occurred while saxingprotected Map<String,Object> getContextualParameters(Content content)
AdditionalContentPropertiesGenerator
getContextualParameters
in class AdditionalContentPropertiesGenerator
content
- the contentprivate void _saxSharedContent(Content content) throws SAXException
SAXException
private void _saxContentPages(Content content) throws SAXException
SAXException
protected 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