public class BaseURIDOMResolverImpl extends BaseURIResolverImpl implements BaseURIDOMResolver
XML_NAMESPACE
Constructor and Description |
---|
BaseURIDOMResolverImpl()
Constructor for processing documents without a
base URI.
|
BaseURIDOMResolverImpl(java.net.URI documentURI)
Constructor takes the absolute URI of the
document to be processed using this BaseURISAXResolver
implementation as an input.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.net.URI |
getBaseURI(org.w3c.dom.Element elt) |
java.net.URI |
getDocumentURI() |
int |
hashCode() |
public BaseURIDOMResolverImpl(java.net.URI documentURI) throws XMLBaseException
documentURI
- The absolute URI of
the base document. If the document does not
have a base URI then this parameter must be null if
this constructor is being used.XMLBaseException
- if the document URI is not
absolute or is opaque.BaseURIDOMResolverImpl()
public BaseURIDOMResolverImpl()
public java.net.URI getBaseURI(org.w3c.dom.Element elt) throws XMLBaseException
getBaseURI
in interface BaseURIDOMResolver
elt
- The XML DOM element that the Base URI is being
obtained for.XMLBaseException
- if the base URI is defined but is not absolute
or is opaque.BaseURIDOMResolver.getBaseURI(Element)
public java.net.URI getDocumentURI()
getDocumentURI
in interface BaseURIDOMResolver
BaseURIDOMResolver.getDocumentURI()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()