javax.xml.namespace

Class QName


public class QName
extends java.lang.Object

An XML qualified name.

Since:
1.3

Constructor Summary

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

Method Summary

boolean
equals(Object obj)
String
getLocalPart()
String
getNamespaceURI()
String
getPrefix()
int
hashCode()
String
toString()
static QName
valueOf(String qNameAsString)

Constructor Details

QName

public QName(String localPart)


QName

public QName(String namespaceURI,
             String localPart)


QName

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

Method Details

equals

public 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)