org.jscience.ml.gml.xml.schema
Class QName

java.lang.Object
  extended by org.jscience.ml.gml.xml.schema.QName

public class QName
extends java.lang.Object

Represents a qualified name, pair of (namespace, name).


Method Summary
 boolean equals(java.lang.Object other)
          DOCUMENT ME!
 java.lang.String getLocalName()
          DOCUMENT ME!
 java.lang.String getNsUri()
          DOCUMENT ME!
static QName getQName(java.lang.String nsUri, java.lang.String localName)
          Returns an existing or creates a new QName object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNsUri

public java.lang.String getNsUri()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getLocalName

public java.lang.String getLocalName()
DOCUMENT ME!

Returns:
DOCUMENT ME!

equals

public boolean equals(java.lang.Object other)
DOCUMENT ME!

Overrides:
equals in class java.lang.Object
Parameters:
other - DOCUMENT ME!
Returns:
DOCUMENT ME!

getQName

public static QName getQName(java.lang.String nsUri,
                             java.lang.String localName)
Returns an existing or creates a new QName object. This method ensures that QNames can be used in Hashtables.

Parameters:
nsUri - DOCUMENT ME!
localName - DOCUMENT ME!
Returns:
DOCUMENT ME!