|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.dom.svg.SVGDocumentLoader
This class is responsible on loading an SVG document.
Field Summary | |
protected SVGDocumentFactory |
documentFactory
The document factory used to create the document according a DOM implementation. |
Constructor Summary | |
SVGDocumentLoader(java.lang.String parser)
Constructs a new DocumentLoader with the specified XML parser. |
Method Summary | |
void |
dispose()
Disposes and releases all resources allocated by this document loader. |
Document |
loadDocument(java.lang.String uri)
Returns a document from the specified uri. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected SVGDocumentFactory documentFactory
Constructor Detail |
public SVGDocumentLoader(java.lang.String parser)
parser
- The SAX2 parser classname.Method Detail |
public Document loadDocument(java.lang.String uri) throws DOMException, SAXException, java.lang.InterruptedException
DocumentLoader
loadDocument
in interface DocumentLoader
org.apache.batik.bridge.DocumentLoader
uri
- the uri of the documentpublic void dispose()
DocumentLoader
dispose
in interface DocumentLoader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |