org.apache.batik.bridge
Interface DocumentLoader

All Known Implementing Classes:
SVGDocumentLoader, BufferedDocumentLoader

public interface DocumentLoader

Defines a class that is responsible of loading (creating) a Document.


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.
 

Method Detail

loadDocument

public Document loadDocument(java.lang.String uri)
                      throws DOMException,
                             SAXException,
                             java.lang.InterruptedException
Returns a document from the specified uri.
Parameters:
uri - the uri of the document

dispose

public void dispose()
Disposes and releases all resources allocated by this document loader.


Copyright © 2000 Apache Software Foundation. All Rights Reserved.