Example usage for Java org.jdom2 Namespace fields, constructors, methods, implement or subclass
The text is from its open source code.
Namespace | NO_NAMESPACE Define a Namespace for when not in a namespace |
Namespace | XML_NAMESPACE Define a Namespace for the standard xml prefix. |
boolean | equals(final Object ob) This tests for equality - Two Namespaces are equal if and only if their URIs are byte-for-byte equals. |
Namespace | getNamespace(final String prefix, final String uri) This will retrieve (if in existence) or create (if not) a Namespace for the supplied prefix and uri. |
Namespace | getNamespace(final String uri) This will retrieve (if in existence) or create (if not) a Namespace for the supplied URI, and make it usable as a default namespace, as no prefix is supplied. |
String | getPrefix() This returns the prefix mapped to this Namespace . |
String | getURI() This returns the namespace URI for this Namespace . |