API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.namespace. QName View Source
Author(s)
Jeff Suttor
Since
1.5
Version
$Revision: 1.5 $, $Date: 2005/11/03 19:34:20 $
Serial
Hierarchy
 Object
      QName
Implements
 Serializable
Subclasses
Description
public class QName
  QName represents a qualified name as defined in the XML specifications: XML Schema Part2: Datatypes specification, Namespaces in XML, Namespaces in XML Errata.
Constructors
public QName (String localPart)
  QName constructor specifying the local part.
public QName (String namespaceURI, String localPart)
  QName constructor specifying the Namespace URI and local part.
public QName (String namespaceURI, String localPart, String prefix)
  QName constructor specifying the Namespace URI, local part and prefix.
Methods
Hide/Show inherited methods
publicfinal boolean equals (Object objectToTest)
  Test this QName for equality with another Object.
public String getLocalPart ()
  Get the local part of this QName.
public String getNamespaceURI ()
  Get the Namespace URI of this QName.
public String getPrefix ()
  Get the prefix of this QName.
publicfinal int hashCode ()
  Generate the hash code for this QName.
public String toString ()
  String representation of this QName.
publicstatic QName valueOf (String qNameAsString)
  QName derived from parsing the formatted String.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar