Package org.apache.axiom.om.impl
Class OMNamespaceImpl
- java.lang.Object
-
- org.apache.axiom.om.impl.OMNamespaceImpl
-
- All Implemented Interfaces:
OMNamespace
public class OMNamespaceImpl extends Object implements OMNamespace
Class OMNamespaceImpl
-
-
Constructor Summary
Constructors Constructor Description OMNamespaceImpl(String uri, String prefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleanequals(String uri, String prefix)Method equals.StringgetName()Method getName.StringgetNamespaceURI()Provides the namespace URI of this namespace.StringgetPrefix()Method getPrefix.inthashCode()
-
-
-
Method Detail
-
equals
public boolean equals(String uri, String prefix)
Method equals.- Specified by:
equalsin interfaceOMNamespace- Parameters:
uri-prefix-- Returns:
- Returns boolean.
-
getPrefix
public String getPrefix()
Method getPrefix.- Specified by:
getPrefixin interfaceOMNamespace- Returns:
- Returns String.
-
getName
public String getName()
Method getName.- Specified by:
getNamein interfaceOMNamespace- Returns:
- Returns String.
-
getNamespaceURI
public String getNamespaceURI()
Description copied from interface:OMNamespaceProvides the namespace URI of this namespace.- Specified by:
getNamespaceURIin interfaceOMNamespace- Returns:
- - the namespace URI of the namespace.
-
-