public class ContentPagesGenerator extends ServiceableGenerator
Pages referencing the content.| Modifier and Type | Field and Description | 
|---|---|
| private AmetysObjectResolver | _resolver | 
managerobjectModel, parameters, resolver, sourcecontentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer| Constructor and Description | 
|---|
| ContentPagesGenerator() | 
| Modifier and Type | Method and Description | 
|---|---|
| private String | _escape(String target) | 
| protected void | _saxPage(Page page,
        Zone zone,
        ZoneItem zoneItem)SAX a content's page. | 
| protected void | _saxTags(Page page,
        AttributesImpl attrs)SAX page's tags | 
| void | generate() | 
| void | service(ServiceManager smanager) | 
disposerecycle, setupsetConsumer, setContentHandler, setLexicalHandlerenableLogging, getLogger, setupLogger, setupLogger, setupLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetConsumerprivate AmetysObjectResolver _resolver
public ContentPagesGenerator()
public void service(ServiceManager smanager) throws ServiceException
service in interface Serviceableservice in class ServiceableGeneratorServiceExceptionpublic void generate() throws IOException, SAXException, ProcessingException
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