Java org.jdom2 Namespace fields, constructors, methods, implement or subclass

Example usage for Java org.jdom2 Namespace fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jdom2 Namespace.

The text is from its open source code.

Field

NamespaceNO_NAMESPACE
Define a Namespace for when not in a namespace
NamespaceXML_NAMESPACE
Define a Namespace for the standard xml prefix.

Method

booleanequals(final Object ob)
This tests for equality - Two Namespaces are equal if and only if their URIs are byte-for-byte equals.
NamespacegetNamespace(final String prefix, final String uri)
This will retrieve (if in existence) or create (if not) a Namespace for the supplied prefix and uri.
NamespacegetNamespace(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.
StringgetPrefix()
This returns the prefix mapped to this Namespace.
StringgetURI()
This returns the namespace URI for this Namespace.