|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.exolab.adaptx.net.URILocation
org.exolab.adaptx.net.ObjectURILocation
org.exolab.adaptx.xml.SAXURILocation
public final class SAXURILocation
An implementation of ObjectURILocation for a SAX XMLReader
| Constructor Summary | |
|---|---|
SAXURILocation(org.xml.sax.XMLReader reader,
org.xml.sax.InputSource source)
Creates a new SAXURILocation |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SAXURILocation(org.xml.sax.XMLReader reader,
org.xml.sax.InputSource source)
| Method Detail |
|---|
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.FileNotFoundException
java.io.IOExceptionpublic java.lang.String getRelativeURI()
getRelativeURI in class URILocationgetAbsoluteURI,
getBaseURIpublic java.lang.String toString()
toString in class URILocation
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||