Class DOMBuilderContentHandlerFactory.Handler
java.lang.Object
org.apache.fop.util.DelegatingContentHandler
org.apache.fop.util.DOMBuilderContentHandlerFactory.Handler
- All Implemented Interfaces:
ContentHandlerFactory.ObjectSource, ContentHandler, DTDHandler, EntityResolver, ErrorHandler, LexicalHandler
- Enclosing class:
DOMBuilderContentHandlerFactory
private class DOMBuilderContentHandlerFactory.Handler
extends DelegatingContentHandler
implements ContentHandlerFactory.ObjectSource
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidSet a listener which gets notified when the object is fully built.voidvoidstartElement(String uri, String localName, String qName, Attributes atts) Methods inherited from class DelegatingContentHandler
characters, comment, endCDATA, endDTD, endElement, endEntity, endPrefixMapping, error, fatalError, getDelegateContentHandler, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDelegateContentHandler, setDelegateDTDHandler, setDelegateEntityResolver, setDelegateErrorHandler, setDelegateLexicalHandler, setDocumentLocator, skippedEntity, startCDATA, startDTD, startEntity, startPrefixMapping, unparsedEntityDecl, warning
-
Field Details
-
doc
-
obListener
-
-
Constructor Details
-
Handler
- Throws:
SAXException
-
-
Method Details
-
getDocument
-
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
-
startDocument
- Specified by:
startDocumentin interfaceContentHandler- Overrides:
startDocumentin classDelegatingContentHandler- Throws:
SAXException
-
startElement
public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException - Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDelegatingContentHandler- Throws:
SAXException
-
endDocument
- Specified by:
endDocumentin interfaceContentHandler- Overrides:
endDocumentin classDelegatingContentHandler- Throws:
SAXException
-