public class RSSGenerator extends ServiceableGenerator
ContentFilter
set in request attributesModifier and Type | Field and Description |
---|---|
protected ContentFilterHelper |
_contentFilterHelper
The content filter helper.
|
private static int |
_DEFAULT_MAX_COUNT |
private RenderingContextHandler |
_renderingContextHandler |
private SourceResolver |
_resolver |
private SiteManager |
_siteManager |
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
RSSGenerator() |
Modifier and Type | Method and Description |
---|---|
private void |
_saxItem(Content content,
String metadataSetName,
String siteName) |
void |
generate() |
protected boolean |
isOrphan(Content content)
Determines if a content is orphan
|
void |
service(ServiceManager smanager) |
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
private static final int _DEFAULT_MAX_COUNT
protected ContentFilterHelper _contentFilterHelper
private SourceResolver _resolver
private SiteManager _siteManager
private RenderingContextHandler _renderingContextHandler
public RSSGenerator()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableGenerator
ServiceException
public void generate() throws IOException, SAXException, ProcessingException
protected boolean isOrphan(Content content)
content
- the content to testprivate void _saxItem(Content content, String metadataSetName, String siteName) throws SAXException, IOException
SAXException
IOException