Package org.apache.jackrabbit.webdav.xml
Class Namespace
- java.lang.Object
-
- org.apache.jackrabbit.webdav.xml.Namespace
-
public class Namespace extends Object
Namespace
-
-
Field Summary
Fields Modifier and Type Field Description static Namespace
EMPTY_NAMESPACE
static Namespace
XML_NAMESPACE
static Namespace
XMLNS_NAMESPACE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static Namespace
getNamespace(String uri)
static Namespace
getNamespace(String prefix, String uri)
String
getPrefix()
String
getURI()
int
hashCode()
boolean
isSame(String namespaceURI)
Returnstrue
if the aNamespace
built from the specifiednamespaceURI
is equal to this namespace object.
-
-
-
Method Detail
-
getPrefix
public String getPrefix()
-
getURI
public String getURI()
-
isSame
public boolean isSame(String namespaceURI)
Returnstrue
if the aNamespace
built from the specifiednamespaceURI
is equal to this namespace object.- Parameters:
namespaceURI
- A namespace URI to be compared to this namespace instance.- Returns:
- true if the a
Namespace
built from the specifiednamespaceURI
is equal to this namespace object; false otherwise.
-
-