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

All Implemented Interfaces:

All Known Implementing Classes:
    XmlNCName, XmlName, XmlID, XmlTokenImpl, XmlNameImpl, XmlENTITY, XmlIdImpl, XmlEntityImpl, XmlNmTokenImpl, XmlToken, XmlLanguageImpl, XmlLanguage, XmlNMTOKEN, XmlNCNameImpl, XmlIDREF, XmlNormalizedStringImpl, XmlIdRefImpl

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

An normalizedString simply is a string where all the carriage return, linefeed, and tab characters have been normalized (switched to) ordinary space characters. Use normalizedString for long strings to make them insensitive to line breaking. If you wish to often be insensitive to runs of whitespace (as is often the case), use xs:token (aka XmlToken ) instead.

Convertible to String . When obtaining the stringValue, the whitespace-normalized value is returned.
Nested Class Summary:
public static final class  XmlNormalizedString.Factory  A class with methods for creating instances of {@link XmlNormalizedString}. 
Field Summary
public static final  SchemaType type    The constant SchemaType object representing this schema type.