@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.Namespace
getNamespaceUri
in interface NamespaceRegistry.Namespace
public String getPrefix()
NamespaceRegistry.Namespace
getPrefix
in interface NamespaceRegistry.Namespace
public int compareTo(NamespaceRegistry.Namespace that)
compareTo
in interface Comparable<NamespaceRegistry.Namespace>
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.