com.sun.msv.datatype.xsd

Class DataTypeWithFacet

public abstract class DataTypeWithFacet extends XSDatatypeImpl

Base implementation of facet-restricted datatype

Author: Kohsuke KAWAGUCHI

Field Summary
XSDatatypeImplbaseType
immediate base type, which may be a concrete type or DataTypeWithFacet
StringfacetName
name of this facet
booleanisFacetFixed
a flag that indicates the facet is fixed (derived types cannot specify this value anymore)
Method Summary
StringconvertToLexicalValue(Object o, SerializationContext context)
StringdisplayName()
XSDatatypegetBaseType()
ConcreteTypegetConcreteType()
DataTypeWithFacetgetFacetObject(String facetName)
intgetIdType()
ClassgetJavaObjectType()
intgetVariety()
booleanisContextDependent()
intisFacetApplicable(String facetName)
booleanisFinal(int derivationType)
StringserializeJavaObject(Object value, SerializationContext context)
Object_createJavaObject(String literal, ValidationContext context)

Field Detail

baseType

public final XSDatatypeImpl baseType
immediate base type, which may be a concrete type or DataTypeWithFacet

facetName

public final String facetName
name of this facet

isFacetFixed

public final boolean isFacetFixed
a flag that indicates the facet is fixed (derived types cannot specify this value anymore)

Method Detail

convertToLexicalValue

public final String convertToLexicalValue(Object o, SerializationContext context)

displayName

public final String displayName()

getBaseType

public final XSDatatype getBaseType()

getConcreteType

public final ConcreteType getConcreteType()

getFacetObject

public final DataTypeWithFacet getFacetObject(String facetName)

getIdType

public int getIdType()

getJavaObjectType

public final Class getJavaObjectType()

getVariety

public final int getVariety()

isContextDependent

public boolean isContextDependent()

isFacetApplicable

public final int isFacetApplicable(String facetName)

isFinal

public final boolean isFinal(int derivationType)

serializeJavaObject

public String serializeJavaObject(Object value, SerializationContext context)

_createJavaObject

public final Object _createJavaObject(String literal, ValidationContext context)