|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiz.c24.io.api.data.NamespaceMapping
public class NamespaceMapping
An immutable mapping between a namespace URI and a shorthand prefix.
Warning: Serialized objects of this class or of a deployed class which is derived from it may not be compatible with future releases of C24 Integreation Objects. The current serialization support is appropriate for short term storage or RMI between applications running the same version of C24 Integreation Objects.
Constructor Summary | |
---|---|
NamespaceMapping(String uri,
String prefix)
Creates a new instance with the given URI and prefix. |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
String |
getPrefix()
Returns the prefix. |
String |
getUri()
Returns the URI. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NamespaceMapping(String uri, String prefix)
uri
- The namespace uri.prefix
- The prefix.
NullPointerException
- if either uri or prefix is null.Method Detail |
---|
public String getUri()
public String getPrefix()
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |