Package org.apache.axiom.om
Interface OMNamespace
-
- All Known Implementing Classes:
OMNamespaceImpl
public interface OMNamespaceInterface OMNamespace.Implementations of this interface must be immutable or behave as if they were immutable, i.e.
getPrefix()andgetNamespaceURI()must always return the same values when invoked on the same instance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleanequals(String uri, String prefix)Method equals.StringgetName()Deprecated.This method is deprecated.StringgetNamespaceURI()Provides the namespace URI of this namespace.StringgetPrefix()Method getPrefix.
-
-
-
Method Detail
-
equals
boolean equals(String uri, String prefix)
Method equals.- Parameters:
uri-prefix-- Returns:
- Returns boolean.
-
getPrefix
String getPrefix()
Method getPrefix.- Returns:
- Returns String.
-
getName
String getName()
Deprecated.This method is deprecated. Please use getNamespaceURI() method instead.Method getName.- Returns:
- Returns String.
-
getNamespaceURI
String getNamespaceURI()
Provides the namespace URI of this namespace.- Returns:
- - the namespace URI of the namespace.
-
-