com.sun.msv.datatype.xsd

Class EntityType

public class EntityType extends BuiltinAtomicType

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

Author: Kohsuke KAWAGUCHI

Field Summary
static EntityTypetheInstance
Method Summary
StringconvertToLexicalValue(Object value, SerializationContext context)
XSDatatypegetBaseType()
ClassgetJavaObjectType()
booleanisContextDependent()
ENTITY type always returns true.
intisFacetApplicable(String facetName)
Object_createValue(String content, ValidationContext context)

Field Detail

theInstance

public static final EntityType theInstance

Method Detail

convertToLexicalValue

public String convertToLexicalValue(Object value, SerializationContext context)

getBaseType

public final XSDatatype getBaseType()

getJavaObjectType

public Class getJavaObjectType()

isContextDependent

public boolean isContextDependent()
ENTITY type always returns true. That is, ENTITY is a context-dependent type.

isFacetApplicable

public final int isFacetApplicable(String facetName)

_createValue

public Object _createValue(String content, ValidationContext context)