org.apache.xmlbeans
Interface XmlString

All Superinterfaces:
XmlAnySimpleType, XmlObject, XmlTokenSource
All Known Subinterfaces:
XmlENTITY, XmlID, XmlIDREF, XmlLanguage, XmlName, XmlNCName, XmlNMTOKEN, XmlNormalizedString, XmlToken

public interface XmlString
extends XmlAnySimpleType

Corresponds to the XML Schema xs:string type.

A basic string in XML schema is not whitespace normalized. If you want your string type to be insensitive to variations in runs of whitespace, consider using xs:token (aka XmlToken) instead. To forbid whitespace and permit just alphanumeric and other common identifier characters consider xs:NMTOKEN (aka XmlNMTOKEN) instead.

Convertible to String.


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

Field Detail

type

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