public class XmlNamespace extends Object
| Constructor and Description |
|---|
XmlNamespace(String uri)
Constructs a new namespace with the specified namespace URI and no defined
prefix alias.
|
XmlNamespace(String alias,
String uri)
Constructs a new namespace with the specified prefix alias and namespace
URI.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Returns true if the target object is a Namespace instance that has a
matching namespace URI and prefix (if specified).
|
String |
getAlias()
Returns the prefix alias for the namespace or
null if undefined. |
String |
getUri()
Returns the fully qualified URI for the namespace.
|
int |
hashCode() |
public XmlNamespace(String uri)
public final String getAlias()
null if undefined.public final String getUri()
public boolean equals(Object obj)
Copyright © 2012. All Rights Reserved.