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
|
managerobjectModel, parameters, resolver, sourcecontentHandler, 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) |
disposerecycle, setupsetConsumer, setContentHandler, setLexicalHandlerenableLogging, getLogger, setupLogger, setupLogger, setupLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetConsumerprotected ContentResultSetHelper _contentRSH
public ContentDocGenerator()
public void service(ServiceManager smanager) throws ServiceException
service in interface Serviceableservice in class ServiceableGeneratorServiceExceptionpublic void generate() throws IOException, SAXException, ProcessingException
generate in interface GeneratorIOExceptionSAXExceptionProcessingExceptionpublic void contextualize(Context context) throws ContextException
contextualize in interface ContextualizableContextExceptionprotected Locale getDefaultLocale(Request request)
request - the requestprivate void _saxColumns(Map<String,SearchUIColumn> resultFields) throws SAXException
SAXException