Home » xmlbeans-2.5.0-src » org.apache » xmlbeans » [javadoc | source]
public interface: XmlQName [javadoc | source]

All Implemented Interfaces:

All Known Implementing Classes:
    XmlNotationImpl, XmlNotationRestriction, JavaNotationHolderEx, XmlQNameRestriction, JavaNotationHolder, XmlQNameImpl

Corresponds to the XML Schema xs:QName type.

A QName is the logical combination of an XML namespace URI and a localName. Although in an XML instance document, a QName appears as "prefix:localName", the logical value of a QName does NOT contain any information about the prefix, only the namespace URI to which the prefix maps. For example, two QNames "a:hello" and "b:hello" are perfectly equivalent if "a:" in the first instance maps to the same URI as "b:" in the second instance.

Convertible to javax.xml.namespace.QName .
Nested Class Summary:
public static final class  XmlQName.Factory  A class with methods for creating instances of {@link XmlQName}. 
Field Summary
public static final  SchemaType type    The constant SchemaType object representing this schema type. 
Method from org.apache.xmlbeans.XmlQName Summary:
getQNameValue,   qNameValue,   set,   setQNameValue
Method from org.apache.xmlbeans.XmlQName Detail:
 public QName getQNameValue()
    Returns this value as a QName
 public QName qNameValue()Deprecated! replaced -  with #getQNameValue 

    Returns this value as a QName
 public  void set(QName name)Deprecated! replaced -  with #setQNameValue 

    Sets this value as a QName
 public  void setQNameValue(QName name)
    Sets this value as a QName