public class Namespace extends Object
| Constructor and Description |
|---|
Namespace(String uri,
String prefix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
constructStringRepresentation()
Constructs an XML namespace declaration string representing this namespace.
|
boolean |
equals(Object obj)
Checks if the given object is the same as this Namespace.
|
String |
getNamespacePrefix()
Gets the prefix of the namespace.
|
String |
getNamespaceURI()
Gets the URI of the namespace.
|
int |
hashCode() |
String |
toString() |
public String getNamespacePrefix()
public String getNamespaceURI()
public boolean equals(Object obj)
Namespaceprotected void constructStringRepresentation()
Copyright © 2021. All rights reserved.