Package org.apache.fop.fo.extensions.svg
Class SVGDOMContentHandlerFactory.Handler
java.lang.Object
org.apache.fop.util.DelegatingContentHandler
org.apache.fop.fo.extensions.svg.SVGDOMContentHandlerFactory.Handler
- All Implemented Interfaces:
ContentHandlerFactory.ObjectSource,ContentHandler,DTDHandler,EntityResolver,ErrorHandler,LexicalHandler
- Enclosing class:
SVGDOMContentHandlerFactory
private static class SVGDOMContentHandlerFactory.Handler
extends DelegatingContentHandler
implements ContentHandlerFactory.ObjectSource
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate DOMImplementationvoidSet a listener which gets notified when the object is fully built.voidvoidstartElement(String uri, String localName, String qName, Attributes atts) Methods inherited from class org.apache.fop.util.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
-
getDOMImplementation
-
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
-