public class ContentGenerator extends ContentGenerator
Generator
for rendering raw content data.Modifier and Type | Field and Description |
---|---|
private PageHelper |
_pageHelper |
private TagProviderExtensionPoint |
_tagProviderEP |
_contentHelper, _contentTypeExtensionPoint, _cTypesHelper, _DC_DATE_FORMAT, _languageManager, _metadataManager, _workflowProvider, _worklflowHelper
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
ContentGenerator() |
Modifier and Type | Method and Description |
---|---|
protected void |
_saxOtherData(Content content)
SAX any other data needed by the view.
|
protected Locale |
getDefaultLocale(Request request)
Get the default locale to use to sax localized values
|
void |
service(ServiceManager serviceManager) |
_addAttributeIfNotNull, _generateContent, _getCurrentStep, _getMetadataSet, _saxContent, _saxContentComments, _saxDublinCoreMetadata, _saxIfNotNull, _saxIfNotNull, _saxIfNotNull, _saxLanguage, _saxMetadata, _saxMetadataComments, _saxWorkflowStep, generate
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
private TagProviderExtensionPoint _tagProviderEP
private PageHelper _pageHelper
public ContentGenerator()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class ContentGenerator
ServiceException
protected Locale getDefaultLocale(Request request)
ContentGenerator
getDefaultLocale
in class ContentGenerator
request
- the requestprotected void _saxOtherData(Content content) throws SAXException, ProcessingException
ContentGenerator
Default implementation does nothing.
_saxOtherData
in class ContentGenerator
content
- the content.SAXException
- if an error occurs while SAXing.ProcessingException
- if an error occurs.