|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.emf.ecore.xml.type.internal.QName
A structure that holds the components of an XML Namespaces qualified name. Two QNames are equal iff they both have same namespaceURI and same localPart. Note: prefix is not used in QName.equals(Object). If not specified, the prefix is set to empty string (""). If not specified, the namespace uri is set to empty string ("");
NOTE: this class is for internal use only.
| Constructor Summary | |
QName(String qname)
Constructs a QName. |
|
QName(String namespaceURI,
String localPart,
String prefix)
Constructs a QName with the specified values. |
|
| Method Summary | |
boolean |
equals(Object object)
Returns true if the two objects are equal. |
String |
getLocalPart()
|
String |
getNamespaceURI()
|
String |
getPrefix()
|
int |
hashCode()
|
void |
setLocalPart(String localpart)
|
void |
setNamespaceURI(String namespaceUri)
|
void |
setPrefix(String prefix)
|
String |
toString()
Returns a string representation of this object. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public QName(String qname)
qname - a qualified name
Throws Exception if value is not legal qualified name
public QName(String namespaceURI,
String localPart,
String prefix)
| Method Detail |
public boolean equals(Object object)
public int hashCode()
public String toString()
public String getLocalPart()
public void setLocalPart(String localpart)
localpart - The localpart to set.public String getNamespaceURI()
public void setNamespaceURI(String namespaceUri)
namespaceUri - The namespaceURI to set.public String getPrefix()
public void setPrefix(String prefix)
prefix - The prefix to set.
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||