com.sun.xml.xsom.impl
Class UName

java.lang.Object
  extended by com.sun.xml.xsom.impl.UName

public final class UName
extends Object

UName.

Author:
Kohsuke Kawaguchi (kk@kohsuke.org)

Field Summary
static Comparator comparator
          Compares UNames by their names.
 
Constructor Summary
UName(String nsUri, String localName)
           
UName(String _nsUri, String _localName, String _qname)
           
UName(XSDeclaration decl)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
           
 String getNamespaceURI()
           
 String getQualifiedName()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

comparator

public static final Comparator comparator
Compares UNames by their names.

Constructor Detail

UName

public UName(String _nsUri,
             String _localName,
             String _qname)
Parameters:
_nsUri - Use "" to indicate the no namespace.

UName

public UName(String nsUri,
             String localName)

UName

public UName(XSDeclaration decl)
Method Detail

getName

public String getName()

getNamespaceURI

public String getNamespaceURI()

getQualifiedName

public String getQualifiedName()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2012 Oracle. All Rights Reserved.