Class DOMURILocation
java.lang.Object
org.exolab.adaptx.net.URILocation
org.exolab.adaptx.net.ObjectURILocation
org.exolab.adaptx.xml.DOMURILocation
An implementation of ObjectURILocation for a DOM Node
- Author:
- Keith Visco
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the absolute URI for this URILocationReturns the base location of this URILocation.getNode()Returns the DOM Node from this URILocationReturns the Object from this ObjectURILocation.Returns the reader for this URILocation.Returns the relative URI for this URILocationtoString()Returns the String representation of this URILocation.
-
Constructor Details
-
DOMURILocation
-
-
Method Details
-
getAbsoluteURI
Returns the absolute URI for this URILocation- Specified by:
getAbsoluteURIin classURILocation- Returns:
- the absolute URI for this URILocation
- See Also:
-
getBaseURI
Returns the base location of this URILocation. If this URILocation is an URL, the base location will be equivalent to the document base for the URL.- Specified by:
getBaseURIin classURILocation- Returns:
- the base location of this URILocation
- See Also:
-
getNode
Returns the DOM Node from this URILocation- Returns:
- the DOM Node from this URILocation
-
getObject
Returns the Object from this ObjectURILocation.- Specified by:
getObjectin classObjectURILocation- Returns:
- the Object from this ObjectURILocation
- See Also:
-
getReader
Returns the reader for this URILocation.This method always return null. Use getObject() or getNode() methods instead.
- Specified by:
getReaderin classURILocation- Returns:
- a Reader for the resource represented by this URILocation
- Throws:
FileNotFoundExceptionIOException
-
getRelativeURI
Returns the relative URI for this URILocation- Specified by:
getRelativeURIin classURILocation- Returns:
- the relative URI for this URILocation
- See Also:
-
toString
Returns the String representation of this URILocation.- Overrides:
toStringin classURILocation- Returns:
- the String representation of this URILocation
-