@Immutable public class BasicNamespace extends Object implements NamespaceRegistry.Namespace
NamespaceRegistry namespace.| Constructor and Description |
|---|
BasicNamespace(String prefix,
String namespaceUri)
Create a namespace instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(NamespaceRegistry.Namespace that) |
boolean |
equals(Object obj) |
String |
getNamespaceUri()
Get the URI for the namespace
|
String |
getPrefix()
Get the prefix for the namespace
|
int |
hashCode() |
String |
toString() |
public String getNamespaceUri()
NamespaceRegistry.NamespacegetNamespaceUri in interface NamespaceRegistry.Namespacepublic String getPrefix()
NamespaceRegistry.NamespacegetPrefix in interface NamespaceRegistry.Namespacepublic int compareTo(NamespaceRegistry.Namespace that)
compareTo in interface Comparable<NamespaceRegistry.Namespace>Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.