Class XMLNamespace
java.lang.Object
org.opendaylight.yangtools.yang.common.XMLNamespace
- All Implemented Interfaces:
Serializable,Comparable<XMLNamespace>,Immutable,WritableObject
@NonNullByDefault
public final class XMLNamespace
extends Object
implements Comparable<XMLNamespace>, Immutable, Serializable, WritableObject
A simple type capture of
namespace statement's argument according to
RFC6020.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionintbooleaninthashCode()intern()Return an interned reference to a equivalent XMLNamespace.static XMLNamespacestatic XMLNamespacetoString()voidwriteTo(DataOutput out)
-
Method Details
-
of
-
intern
Return an interned reference to a equivalent XMLNamespace.- Returns:
- Interned reference, or this object if it was interned.
-
compareTo
- Specified by:
compareToin interfaceComparable<XMLNamespace>
-
writeTo
- Specified by:
writeToin interfaceWritableObject- Throws:
IOException
-
readFrom
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toString
-