wt.util.xml.xslt
Class URLXMLSourceImpl

java.lang.Object
  extended bywt.util.xml.xslt.XMLSourceImpl
      extended bywt.util.xml.xslt.URLXMLSourceImpl
All Implemented Interfaces:
URLXMLSource, XMLSource

final class URLXMLSourceImpl
extends XMLSourceImpl
implements URLXMLSource

Minimalistic implementation of URLXMLSource


Field Summary
private  URL url
           
 
Constructor Summary
(package private) URLXMLSourceImpl(URL url)
           
(package private) URLXMLSourceImpl(URL url, String baseURI)
           
 
Method Summary
 String getBaseURI()
          The URI describing the location of the XML data, up to, but not including the file part of the URI.
 URL getURL()
          The URL from which the XML data can be loaded.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

url

private URL url
Constructor Detail

URLXMLSourceImpl

URLXMLSourceImpl(URL url)

URLXMLSourceImpl

URLXMLSourceImpl(URL url,
                 String baseURI)
Method Detail

getURL

public URL getURL()
Description copied from interface: URLXMLSource
The URL from which the XML data can be loaded.

Supported API: true

Specified by:
getURL in interface URLXMLSource
Returns:
URL

getBaseURI

public String getBaseURI()
Description copied from interface: XMLSource
The URI describing the location of the XML data, up to, but not including the file part of the URI. For example, the base URI for data sourced at http://www.acme.com/documents/Document1.xml would be http://www.acme.com/documents.

Supported API: true

Specified by:
getBaseURI in interface XMLSource
Overrides:
getBaseURI in class XMLSourceImpl