Package org.apache.fop.fo.extensions.xmp
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 TypeMethodDescriptionvoid
void
Set a listener which gets notified when the object is fully built.Methods inherited from class org.apache.xmlgraphics.xmp.XMPHandler
characters, endElement, getMetadata, startElement
Methods inherited from class org.xml.sax.helpers.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:
getObject
in 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:
setObjectBuiltListener
in interfaceContentHandlerFactory.ObjectSource
- Parameters:
listener
- the listener which gets notified
-
endDocument
- Specified by:
endDocument
in interfaceContentHandler
- Overrides:
endDocument
in classDefaultHandler
- Throws:
SAXException
-