public class ODFContentFieldGenerator extends ServiceableGenerator
Modifier and Type | Field and Description |
---|---|
protected ContentTypesHelper |
_contentTypesHelper
Content type helper
|
protected MetadataManager |
_metadataManager
Metadata manager
|
protected AmetysObjectResolver |
_resolver
The source resolver
|
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
ODFContentFieldGenerator() |
Modifier and Type | Method and Description |
---|---|
private String |
_getEntryName(String metadataName) |
private CompositeMetadata |
_getHolder(CompositeMetadata holder,
String metadataName,
String entryName) |
void |
generate() |
void |
service(ServiceManager serviceManager) |
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
protected AmetysObjectResolver _resolver
protected MetadataManager _metadataManager
protected ContentTypesHelper _contentTypesHelper
public ODFContentFieldGenerator()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableGenerator
ServiceException
public void generate() throws ProcessingException
ProcessingException
private CompositeMetadata _getHolder(CompositeMetadata holder, String metadataName, String entryName)
private String _getEntryName(String metadataName)