nu.staldal.lsp
Interface URLResolver


public interface URLResolver

Resolvs an URL into an XML resource.

Used for import in an LSP page.


Method Summary
 void resolve(java.lang.String url, org.xml.sax.ContentHandler ch)
          Resolvs an URL and feed the XML data into the supplied SAX2 ContentHandler.
 

Method Detail

resolve

void resolve(java.lang.String url,
             org.xml.sax.ContentHandler ch)
             throws java.io.IOException,
                    org.xml.sax.SAXException
Resolvs an URL and feed the XML data into the supplied SAX2 ContentHandler. May invoke startDocument/endDocument.

Parameters:
url - the URL
ch - the ContentHandler
Throws:
java.io.IOException - may throw this exception
org.xml.sax.SAXException - may throw this exception