XmlQName Interface

com.bea.xml
XmlQName Interface

public interface XmlQName

    extends XmlAnySimpleType

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 QName.


All Superinterfaces
XmlAnySimpleType, XmlObject, XmlTokenSource

Nested Class Summary

public static final classXmlQName.Factory
           A class with methods for creating instances of XmlQName.
 
Nested classes from interface com.bea.xml.XmlAnySimpleType
XmlAnySimpleType.Factory
 
Nested classes from interface com.bea.xml.XmlObject
XmlObject.Factory
 

Field Summary

public static final SchemaType
type
The constant SchemaType object representing this schema type.
   
Fields from interface com.bea.xml.XmlAnySimpleType
type
 
Fields from interface com.bea.xml.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL, type
 

Method Summary

public QName
getQNameValue()
Returns this value as a QName
public QName
qNameValue()
Returns this value as a QName
public void
set(QName name)
Sets this value as a QName
public void
setQNameValue(QName name)
Sets this value as a QName
 
Methods from interface com.bea.xml.XmlAnySimpleType
getStringValue, set, setStringValue, stringValue
 
Methods from interface com.bea.xml.XmlObject
changeType, compareTo, compareValue, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectPath, selectPath, set, setNil, toString, validate, validate, valueEquals, valueHashCode
 
Methods from interface com.bea.xml.XmlTokenSource
documentProperties, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, save, save, save, save, save, save, save, save, xmlText, xmlText
   

Field Detail

type

public static final SchemaType type
The constant SchemaType object representing this schema type.

 

Method Detail

getQNameValue() Method

public QName getQNameValue()
Returns this value as a QName


qNameValue() Method

DEPRECATED replaced with com.bea.xml.XmlQName.getQNameValue()

public QName qNameValue()
Returns this value as a QName


set(QName) Method

DEPRECATED replaced with com.bea.xml.XmlQName.setQNameValue(javax.xml.namespace.QName)

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


setQNameValue(QName) Method

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