public class QName extends Object implements Serializable
Note: This class allows to carry a namespace prefix but it is not used in the equals() and hashCode() methods.
public QName(String namespaceURI, String prefix, String localName)
namespaceURI
- the namespace URIprefix
- the namespace prefix, may be nulllocalName
- the local namepublic String getNamespaceURI()
public String getPrefix()
public String getLocalName()
public String getQName()
public int hashCode()
hashCode
在类中 Object
Object.hashCode()
public boolean equals(Object obj)
equals
在类中 Object
Object.equals(java.lang.Object)
public String toString()
toString
在类中 Object
Object.toString()
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.