|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.jcr.value.basic.BasicNamespace
@Immutable public class BasicNamespace
Basic implementation of a NamespaceRegistry
namespace.
Constructor Summary | |
---|---|
BasicNamespace(String prefix,
String namespaceUri)
Create a namespace instance. |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BasicNamespace(String prefix, String namespaceUri)
prefix
- the namespace prefix; may not be null (this is not checked)namespaceUri
- the namespace URI; may not be null (this is not checked)Method Detail |
---|
public String getNamespaceUri()
NamespaceRegistry.Namespace
getNamespaceUri
in interface NamespaceRegistry.Namespace
public String getPrefix()
NamespaceRegistry.Namespace
getPrefix
in interface NamespaceRegistry.Namespace
public int hashCode()
hashCode
in class Object
public int compareTo(NamespaceRegistry.Namespace that)
compareTo
in interface Comparable<NamespaceRegistry.Namespace>
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |