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 TypeMethodDescriptionvoid
private DOMImplementation
void
Set a listener which gets notified when the object is fully built.void
void
startElement
(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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
doc
-
obListener
-
-
Constructor Details
-
Handler
- Throws:
SAXException
-
-
Method Details
-
getDocument
-
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
-
startDocument
- Specified by:
startDocument
in interfaceContentHandler
- Overrides:
startDocument
in classDelegatingContentHandler
- Throws:
SAXException
-
getDOMImplementation
-
startElement
public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException - Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classDelegatingContentHandler
- Throws:
SAXException
-
endDocument
- Specified by:
endDocument
in interfaceContentHandler
- Overrides:
endDocument
in classDelegatingContentHandler
- Throws:
SAXException
-