javax.xml.namespace

Class QName

public class QName extends Object implements Serializable

An XML qualified name.

Since: 1.3

Constructor Summary
QName(String namespaceURI, String localPart)
QName(String namespaceURI, String localPart, String prefix)
QName(String localPart)
Method Summary
booleanequals(Object obj)
StringgetLocalPart()
StringgetNamespaceURI()
StringgetPrefix()
inthashCode()
StringtoString()
static QNamevalueOf(String qNameAsString)

Constructor Detail

QName

public QName(String namespaceURI, String localPart)

QName

public QName(String namespaceURI, String localPart, String prefix)

QName

public QName(String localPart)

Method Detail

equals

public final boolean equals(Object obj)

getLocalPart

public String getLocalPart()

getNamespaceURI

public String getNamespaceURI()

getPrefix

public String getPrefix()

hashCode

public final int hashCode()

toString

public String toString()

valueOf

public static QName valueOf(String qNameAsString)