com.sun.msv.datatype.xsd

Class SimpleURType

public class SimpleURType extends BuiltinAtomicType

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

Author: Kohsuke KAWAGUCHI

Field Summary
static SimpleURTypetheInstance
Method Summary
StringconvertToLexicalValue(Object value, SerializationContext context)
XSDatatypegetBaseType()
SimpleURType always returns null to indicate that there is no base type for this type.
ClassgetJavaObjectType()
intisFacetApplicable(String facetName)
no facet is applicable to the simple ur-type.
Object_createValue(String lexicalValue, ValidationContext context)
the value object of the simple ur-type is the lexical value itself.

Field Detail

theInstance

public static final SimpleURType theInstance

Method Detail

convertToLexicalValue

public String convertToLexicalValue(Object value, SerializationContext context)

getBaseType

public final XSDatatype getBaseType()
SimpleURType always returns null to indicate that there is no base type for this type.

getJavaObjectType

public Class getJavaObjectType()

isFacetApplicable

public final int isFacetApplicable(String facetName)
no facet is applicable to the simple ur-type.

_createValue

public Object _createValue(String lexicalValue, ValidationContext context)
the value object of the simple ur-type is the lexical value itself.