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.
 
Nested classes inherited from class org.apache.xmlbeans.XmlAnySimpleType
XmlAnySimpleType.Factory
 
Nested classes inherited from class org.apache.xmlbeans.XmlObject
XmlObject.Factory
 
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
 
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

type

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