|
||||||||
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.DOMURILocation
public final class DOMURILocation
An implementation of ObjectURILocation for a DOM Node
Constructor Summary | |
---|---|
DOMURILocation(org.w3c.dom.Node node,
java.lang.String href)
Creates a new DOMURILocation |
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.w3c.dom.Node |
getNode()
Returns the DOM Node from this URILocation |
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 |
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 DOMURILocation(org.w3c.dom.Node node, java.lang.String href)
Method Detail |
---|
public java.lang.String getAbsoluteURI()
getAbsoluteURI
in class URILocation
getRelativeURI
,
getBaseURI
public java.lang.String getBaseURI()
getBaseURI
in class URILocation
getAbsoluteURI
,
getRelativeURI
public org.w3c.dom.Node getNode()
public java.lang.Object getObject()
getObject
in class ObjectURILocation
getNode()
public java.io.Reader getReader() throws java.io.IOException
This method always return null. Use getObject() or getNode() methods instead.
getReader
in class URILocation
java.io.FileNotFoundException
java.io.IOException
public java.lang.String getRelativeURI()
getRelativeURI
in class URILocation
getAbsoluteURI
,
getBaseURI
public java.lang.String toString()
toString
in class URILocation
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |