Class XMLNamespace
- java.lang.Object
-
- org.opendaylight.yangtools.yang.common.XMLNamespace
-
- All Implemented Interfaces:
Serializable
,Comparable<XMLNamespace>
,Immutable
,MutationBehaviour<Immutable>
public final class XMLNamespace extends Object implements Comparable<XMLNamespace>, Immutable, Serializable
A simple type capture ofnamespace
statement's argument according to RFC6020.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(XMLNamespace o)
boolean
equals(Object obj)
int
hashCode()
@NonNull XMLNamespace
intern()
Return an interned reference to a equivalent XMLNamespace.static @NonNull XMLNamespace
of(String namespace)
String
toString()
-
-
-
Method Detail
-
of
public static @NonNull XMLNamespace of(String namespace)
-
intern
public @NonNull XMLNamespace intern()
Return an interned reference to a equivalent XMLNamespace.- Returns:
- Interned reference, or this object if it was interned.
-
compareTo
public int compareTo(XMLNamespace o)
- Specified by:
compareTo
in interfaceComparable<XMLNamespace>
-
-