|
Apigen | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.uci.isr.apigen.QName
Qualified name (NamespaceURI + Local Name) for use in describing a DOM element.
| Field Summary | |
protected String |
name
Local name of this QName |
protected String |
namespaceURI
Namespace URI of this QName |
| Constructor Summary | |
QName(String name)
Create a qualified name with no namespace URI and the given local name. |
|
QName(String namespaceURI,
String name)
Create a qualified name with the given namespace URI local name. |
|
| Method Summary | |
boolean |
equals(Object o)
Determines if two QNames are equal. |
String |
getName()
Get the local name of this qualified name. |
String |
getNamespaceURI()
Get the namespace URI of this qualified name. |
static QName |
getNodeQName(Node n)
Gets the qualified name of a given DOM node. |
int |
hashCode()
Gets the hash code for this QName. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected String namespaceURI
protected String name
| Constructor Detail |
public QName(String name)
name - Local name.
public QName(String namespaceURI,
String name)
namespaceURI - Namespace URI.name - Local name.| Method Detail |
public String getNamespaceURI()
public String getName()
public boolean equals(Object o)
o - Object to compare with this QName
true if they are equal, false otherwise.public int hashCode()
public static QName getNodeQName(Node n)
n - DOM node to inspect.
public String toString()
|
Apigen | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||