wt.util.xml.xslt
Class URLXMLSourceImpl
java.lang.Object
wt.util.xml.xslt.XMLSourceImpl
wt.util.xml.xslt.URLXMLSourceImpl
- All Implemented Interfaces:
- URLXMLSource, XMLSource
- final class URLXMLSourceImpl
- extends XMLSourceImpl
- implements URLXMLSource
Minimalistic implementation of URLXMLSource
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 |
url
private URL url
URLXMLSourceImpl
URLXMLSourceImpl(URL url)
URLXMLSourceImpl
URLXMLSourceImpl(URL url,
String baseURI)
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