public class DublinCoreMetadataGenerator extends ServiceableGenerator
Modifier and Type | Field and Description |
---|---|
private ExplorerResourcesDAO |
_resourceDAO |
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
DublinCoreMetadataGenerator() |
Modifier and Type | Method and Description |
---|---|
protected void |
_saxIfNotNull(String name,
Object value)
SAX string Dublin Core metadata.
|
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
private ExplorerResourcesDAO _resourceDAO
public DublinCoreMetadataGenerator()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableGenerator
ServiceException
public void generate() throws IOException, SAXException, ProcessingException
protected void _saxIfNotNull(String name, Object value) throws SAXException
name
- the metadata name.value
- the metadata value.SAXException
- if an error occurs while SAXing.