com.sun.msv.datatype.xsd

Class StringType

public class StringType extends BuiltinAtomicType implements Discrete

"string" type. type of the value object is java.lang.String. See http://www.w3.org/TR/xmlschema-2/#string for the spec

Author: Kohsuke KAWAGUCHI

Field Summary
static StringTypetheInstance
Method Summary
StringconvertToLexicalValue(Object value, SerializationContext context)
intcountLength(Object value)
XSDatatypegetBaseType()
ClassgetJavaObjectType()
booleanisAlwaysValid()
intisFacetApplicable(String facetName)
Object_createValue(String lexicalValue, ValidationContext context)

Field Detail

theInstance

public static final StringType theInstance

Method Detail

convertToLexicalValue

public String convertToLexicalValue(Object value, SerializationContext context)

countLength

public final int countLength(Object value)

getBaseType

public XSDatatype getBaseType()

getJavaObjectType

public Class getJavaObjectType()

isAlwaysValid

public boolean isAlwaysValid()

isFacetApplicable

public final int isFacetApplicable(String facetName)

_createValue

public Object _createValue(String lexicalValue, ValidationContext context)