public class IndexedContentsGenerator extends ServiceableGenerator
Modifier and Type | Field and Description |
---|---|
private ContentTypeExtensionPoint |
_contentTypeExtensionPoint |
private ContentTypesHelper |
_contentTypesHelper |
private MetadataManager |
_metadataManager |
private SAXContentHelper |
_saxContentHelper |
private ServerCommHelper |
_serverCommHelper |
private ThesaurusDAO |
_thesaurusDAO |
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
IndexedContentsGenerator() |
Modifier and Type | Method and Description |
---|---|
private void |
_saxContent(Content content,
Locale defaultLocale) |
private void |
_saxSystemProperties(Content content) |
void |
generate() |
protected MetadataSet |
getMetadataToSAX(Content content)
Get the metadata set to sax
|
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 ThesaurusDAO _thesaurusDAO
private ContentTypeExtensionPoint _contentTypeExtensionPoint
private MetadataManager _metadataManager
private ContentTypesHelper _contentTypesHelper
private ServerCommHelper _serverCommHelper
private SAXContentHelper _saxContentHelper
public IndexedContentsGenerator()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableGenerator
ServiceException
public void generate() throws IOException, SAXException, ProcessingException
private void _saxContent(Content content, Locale defaultLocale) throws SAXException, RepositoryException, IOException
protected MetadataSet getMetadataToSAX(Content content)
content
- the contentprivate void _saxSystemProperties(Content content) throws SAXException, RepositoryException
SAXException
RepositoryException