Interface XmlNCName

All Superinterfaces:
XmlAnySimpleType, XmlName, XmlNormalizedString, XmlObject, XmlString, XmlToken, XmlTokenSource
All Known Subinterfaces:

public interface XmlNCName
extends XmlName

Corresponds to the XML Schema xs:Name type. One of the derived types based on xs:string.

This kind of string is the same as the non-colonized strings that are used for XML localnames and prefixes, "my-href.2". It is just a physical string, however, and it should NOT be confused with XmlQName, which is a logical combination of localname and namespace URI.

Convertible to String.

Nested Class Summary
static class XmlNCName.Factory
          A class with methods for creating instances of XmlNCName.
Field Summary
static SchemaType type
          The constant SchemaType object representing this schema type.
Fields inherited from interface org.apache.xmlbeans.XmlObject
Methods inherited from interface org.apache.xmlbeans.XmlAnySimpleType
getStringValue, set, setStringValue, stringValue
Methods inherited from interface org.apache.xmlbeans.XmlObject
changeType, compareTo, compareValue, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectPath, selectPath, set, setNil, toString, validate, validate, valueEquals, valueHashCode
Methods inherited from interface org.apache.xmlbeans.XmlTokenSource
documentProperties, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, save, save, save, save, save, save, save, save, xmlText, xmlText

Field Detail


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