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 NamespaceEMPTY_NAMESPACEstatic NamespaceXML_NAMESPACEstatic NamespaceXMLNS_NAMESPACE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static NamespacegetNamespace(String uri)static NamespacegetNamespace(String prefix, String uri)StringgetPrefix()StringgetURI()inthashCode()booleanisSame(String namespaceURI)Returnstrueif the aNamespacebuilt from the specifiednamespaceURIis equal to this namespace object.
-
-
-
Method Detail
-
getPrefix
public String getPrefix()
-
getURI
public String getURI()
-
isSame
public boolean isSame(String namespaceURI)
Returnstrueif the aNamespacebuilt from the specifiednamespaceURIis equal to this namespace object.- Parameters:
namespaceURI- A namespace URI to be compared to this namespace instance.- Returns:
- true if the a
Namespacebuilt from the specifiednamespaceURIis equal to this namespace object; false otherwise.
-
-