public class ContentDocGenerator extends ServiceableGenerator implements Contextualizable
SearchAction
.Modifier and Type | Field and Description |
---|---|
protected ContentResultSetHelper |
_contentRSH
Helper for saxing result
|
protected Context |
_context
Context
|
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
ContentDocGenerator() |
Modifier and Type | Method and Description |
---|---|
private void |
_saxColumns(Map<String,SearchUIColumn> resultFields) |
void |
contextualize(Context context) |
void |
generate() |
protected Locale |
getDefaultLocale(Request request)
Get the default locale to use to sax localized values
|
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
protected ContentResultSetHelper _contentRSH
public ContentDocGenerator()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableGenerator
ServiceException
public void generate() throws IOException, SAXException, ProcessingException
generate
in interface Generator
IOException
SAXException
ProcessingException
public void contextualize(Context context) throws ContextException
contextualize
in interface Contextualizable
ContextException
protected Locale getDefaultLocale(Request request)
request
- the requestprivate void _saxColumns(Map<String,SearchUIColumn> resultFields) throws SAXException
SAXException