public class Namespace
extends java.lang.Object
Namespace
Modifier and Type | Field and Description |
---|---|
static Namespace |
EMPTY_NAMESPACE |
static Namespace |
XML_NAMESPACE |
static Namespace |
XMLNS_NAMESPACE |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static Namespace |
getNamespace(java.lang.String uri) |
static Namespace |
getNamespace(java.lang.String prefix,
java.lang.String uri) |
java.lang.String |
getPrefix() |
java.lang.String |
getURI() |
int |
hashCode() |
boolean |
isSame(java.lang.String namespaceURI)
Returns
true if the a Namespace built from the
specified namespaceURI is equal to this namespace object. |
public static final Namespace EMPTY_NAMESPACE
public static final Namespace XML_NAMESPACE
public static final Namespace XMLNS_NAMESPACE
public static Namespace getNamespace(java.lang.String prefix, java.lang.String uri)
public static Namespace getNamespace(java.lang.String uri)
public java.lang.String getPrefix()
public java.lang.String getURI()
public boolean isSame(java.lang.String namespaceURI)
true
if the a Namespace
built from the
specified namespaceURI
is equal to this namespace object.namespaceURI
- A namespace URI to be compared to this namespace instance.Namespace
built from the
specified namespaceURI
is equal to this namespace object;
false otherwise.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved