public class ContentSharesGenerator extends ServiceableGenerator
Modifier and Type | Field and Description |
---|---|
protected AmetysObjectResolver |
_resolver
The ametys object resolver.
|
protected SharedContentManager |
_sharedContentComponent
The shared content helper.
|
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
ContentSharesGenerator() |
Modifier and Type | Method and Description |
---|---|
private String |
_escape(String target) |
void |
generate() |
protected void |
saxPage(Page page)
SAX the page.
|
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
protected SharedContentManager _sharedContentComponent
public ContentSharesGenerator()
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 saxPage(Page page) throws SAXException
page
- the page to sax.SAXException
- if an error occurs.