public final class SAXURILocation extends ObjectURILocation
| Constructor and Description |
|---|
SAXURILocation(org.xml.sax.XMLReader reader,
org.xml.sax.InputSource source)
Creates a new SAXURILocation
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAbsoluteURI()
Returns the absolute URI for this URILocation
|
java.lang.String |
getBaseURI()
Returns the base location of this URILocation.
|
org.xml.sax.InputSource |
getInputSource()
Returns the InputSource for this SAXURILocation
|
java.lang.Object |
getObject()
Returns the Object from this ObjectURILocation.
|
java.io.Reader |
getReader()
Returns the reader for this URILocation.
|
java.lang.String |
getRelativeURI()
Returns the relative URI for this URILocation
|
org.xml.sax.XMLReader |
getXMLReader()
Returns the SAX XMLReader for this URILocation,
or null if not set.
|
java.lang.String |
toString()
Returns the String representation of
this URILocation.
|
public SAXURILocation(org.xml.sax.XMLReader reader,
org.xml.sax.InputSource source)
public java.lang.String getAbsoluteURI()
getAbsoluteURI in class URILocationgetRelativeURI,
getBaseURIpublic java.lang.String getBaseURI()
getBaseURI in class URILocationgetAbsoluteURI,
getRelativeURIpublic org.xml.sax.XMLReader getXMLReader()
public org.xml.sax.InputSource getInputSource()
public java.lang.Object getObject()
This method will return the XMLReader
getObject in class ObjectURILocationgetXMLReader()public java.io.Reader getReader()
throws java.io.IOException
This method may return null, if an XMLReader exists. Try getXMLReader first.
getReader in class URILocationjava.io.FileNotFoundExceptionjava.io.IOExceptionpublic java.lang.String getRelativeURI()
getRelativeURI in class URILocationgetAbsoluteURI,
getBaseURIpublic java.lang.String toString()
toString in class URILocation