|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axiom.om.impl.OMNamespaceImpl
OMNamespace
instances should always be created using
OMFactory.createOMNamespace(String, String)
. This class will be removed in
Axiom 1.3.
public class OMNamespaceImpl
Constructor Summary | |
---|---|
OMNamespaceImpl(String uri,
String prefix)
Deprecated. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Deprecated. |
boolean |
equals(String uri,
String prefix)
Deprecated. Method equals. |
String |
getName()
Deprecated. Method getName. |
String |
getNamespaceURI()
Deprecated. Get the namespace URI. |
String |
getPrefix()
Deprecated. Method getPrefix. |
int |
hashCode()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OMNamespaceImpl(String uri, String prefix)
uri
- prefix
- Method Detail |
---|
public boolean equals(String uri, String prefix)
equals
in interface OMNamespace
uri
- prefix
-
public boolean equals(Object obj)
equals
in class Object
public String getPrefix()
getPrefix
in interface OMNamespace
public String getName()
getName
in interface OMNamespace
public String getNamespaceURI()
OMNamespace
null
. It may return an empty
string if this instance represents a namespace declaration of type xmlns="". This
may be the case for instances returned by OMElement.getAllDeclaredNamespaces()
. On
the other hand, methods such as OMNamedInformationItem.getNamespace()
will return
null
for information items that have no namespace. In that case the returned
string is never empty.
getNamespaceURI
in interface OMNamespace
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |