|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.msv.datatype.xsd.XSDatatypeImpl
com.sun.msv.datatype.xsd.ConcreteType
public abstract class ConcreteType
base class for types that union/list/atomic.
Field Summary |
---|
Fields inherited from interface com.sun.msv.datatype.xsd.XSDatatype |
---|
APPLICABLE, DERIVATION_BY_LIST, DERIVATION_BY_RESTRICTION, DERIVATION_BY_UNION, FACET_ENUMERATION, FACET_FRACTIONDIGITS, FACET_LENGTH, FACET_MAXEXCLUSIVE, FACET_MAXINCLUSIVE, FACET_MAXLENGTH, FACET_MINEXCLUSIVE, FACET_MININCLUSIVE, FACET_MINLENGTH, FACET_PATTERN, FACET_TOTALDIGITS, FACET_WHITESPACE, FIXED, NOT_ALLOWED, VARIETY_ATOMIC, VARIETY_LIST, VARIETY_UNION, XMLSCHEMA_NSURI |
Fields inherited from interface org.relaxng.datatype.Datatype |
---|
ID_TYPE_ID, ID_TYPE_IDREF, ID_TYPE_IDREFS, ID_TYPE_NULL |
Method Summary | |
---|---|
java.lang.Object |
_createJavaObject(java.lang.String literal,
ValidationContext context)
|
ConcreteType |
getConcreteType()
gets the concrete type object of the restriction chain. |
boolean |
isFinal(int derivationType)
checks if this type is declared as final for the specified kind of derivation. |
java.lang.String |
serializeJavaObject(java.lang.Object value,
SerializationContext context)
converts a value object back to the lexical representation. |
Methods inherited from class com.sun.msv.datatype.xsd.XSDatatypeImpl |
---|
checkValid, createJavaObject, createStreamingValidator, createValue, getAncestorBuiltinType, getApplicableFacetNames, getFacetObject, getIdType, getName, getNamespaceUri, isAlwaysValid, isContextDependent, isDerivedTypeOf, isDerivedTypeOf, isValid, localize, localize, localize, localize, localize, sameValue, valueHashCode |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.sun.msv.datatype.xsd.XSDatatype |
---|
convertToLexicalValue, displayName, getBaseType, getVariety, isFacetApplicable |
Methods inherited from interface com.sun.msv.datatype.DatabindableDatatype |
---|
getJavaObjectType |
Method Detail |
---|
public final ConcreteType getConcreteType()
XSDatatypeImpl
getConcreteType
in class XSDatatypeImpl
public boolean isFinal(int derivationType)
XSDatatype
In the terminology of the spec, this method can be used to examine the final property of this component.
derivationType
- one of pre-defined values (DERIVATION_BY_XXX).public java.lang.Object _createJavaObject(java.lang.String literal, ValidationContext context)
public java.lang.String serializeJavaObject(java.lang.Object value, SerializationContext context)
DatabindableDatatype
This method is a kind of the "reverse" function of the createJavaObject method.
context
- The context object is used to obtain information necessary to
serialize the value object. For example, QName type uses the context
to encode the URI into a prefix.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |