Class XMPContentHandlerFactory.FOPXMPHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.xmlgraphics.xmp.XMPHandler
org.apache.fop.fo.extensions.xmp.XMPContentHandlerFactory.FOPXMPHandler
- All Implemented Interfaces:
ContentHandlerFactory.ObjectSource, ContentHandler, DTDHandler, EntityResolver, ErrorHandler
- Enclosing class:
XMPContentHandlerFactory
private class XMPContentHandlerFactory.FOPXMPHandler
extends org.apache.xmlgraphics.xmp.XMPHandler
implements ContentHandlerFactory.ObjectSource
Local subclass of XMPHandler that implements ObjectSource for FOP integration.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidSet a listener which gets notified when the object is fully built.Methods inherited from class org.apache.xmlgraphics.xmp.XMPHandler
characters, endElement, getMetadata, startElementMethods inherited from class DefaultHandler
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
-
Field Details
-
obListener
-
-
Constructor Details
-
FOPXMPHandler
private FOPXMPHandler()
-
-
Method Details
-
getObject
- Specified by:
getObjectin interfaceContentHandlerFactory.ObjectSource- Returns:
- the object parsed from the SAX stream (call valid after parsing)
-
setObjectBuiltListener
Set a listener which gets notified when the object is fully built.- Specified by:
setObjectBuiltListenerin interfaceContentHandlerFactory.ObjectSource- Parameters:
listener- the listener which gets notified
-
endDocument
- Specified by:
endDocumentin interfaceContentHandler- Overrides:
endDocumentin classDefaultHandler- Throws:
SAXException
-