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,org.xml.sax.ContentHandler,org.xml.sax.DTDHandler,org.xml.sax.EntityResolver,org.xml.sax.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 Modifier and Type Field Description private ContentHandlerFactory.ObjectBuiltListenerobListener
-
Constructor Summary
Constructors Modifier Constructor Description privateFOPXMPHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidendDocument()java.lang.ObjectgetObject()voidsetObjectBuiltListener(ContentHandlerFactory.ObjectBuiltListener listener)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
-
-
-
-
Field Detail
-
obListener
private ContentHandlerFactory.ObjectBuiltListener obListener
-
-
Method Detail
-
getObject
public java.lang.Object getObject()
- Specified by:
getObjectin interfaceContentHandlerFactory.ObjectSource- Returns:
- the object parsed from the SAX stream (call valid after parsing)
-
setObjectBuiltListener
public void setObjectBuiltListener(ContentHandlerFactory.ObjectBuiltListener listener)
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
public void endDocument() throws org.xml.sax.SAXException- Specified by:
endDocumentin interfaceorg.xml.sax.ContentHandler- Overrides:
endDocumentin classorg.xml.sax.helpers.DefaultHandler- Throws:
org.xml.sax.SAXException
-
-