| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectcom.sun.msv.datatype.xsd.XSDatatypeImplcom.sun.msv.datatype.xsd.Proxypublic class Proxyextends XSDatatypeImplField Summary | |
XSDatatypeImpl |
|
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 | |
Constructor Summary | |
| |
Method Summary | |
void |
|
Object |
|
Object |
|
boolean |
|
String |
|
String | |
XSDatatype | |
ConcreteType |
|
DataTypeWithFacet |
|
int |
|
Class |
|
int | |
boolean |
|
int |
|
boolean |
|
String |
|
Methods inherited from class com.sun.msv.datatype.xsd.XSDatatypeImpl | |
checkValid, createJavaObject, createStreamingValidator, createValue, getAncestorBuiltinType, getApplicableFacetNames, getConcreteType, getFacetObject, getIdType, getName, getNamespaceUri, isAlwaysValid, isContextDependent, isDerivedTypeOf, isDerivedTypeOf, isValid, localize, localize, localize, localize, localize, sameValue, valueHashCode | |
public final XSDatatypeImpl baseType
immediate base type, which may be a concrete type or DataTypeWithFacet
public void _checkValid(String content,
ValidationContext context)
throws DatatypeExceptionactual 'meat' of the checkValid method
public Object _createJavaObject(String literal,
ValidationContext context)public Object _createValue(String content,
ValidationContext context)converts a whitespace-processed lexical value into the corresponding value object
public boolean checkFormat(String content,
ValidationContext context)public String convertToLexicalValue(Object value,
SerializationContext context)
- Specified by:
- convertToLexicalValue in interface XSDatatype
public ConcreteType getConcreteType()
gets the concrete type object of the restriction chain.
- Overrides:
- getConcreteType in interface XSDatatypeImpl
public DataTypeWithFacet getFacetObject(String facetName)
gets the facet object that restricts the specified facet
- Specified by:
- getFacetObject in interface XSDatatype
- Overrides:
- getFacetObject in interface XSDatatypeImpl
- Returns:
- null if no such facet object exists.
public int getIdType()
A property for RELAX NG DTD compatibility datatypes.ID_TYPE_NULLis returned by default.
- Overrides:
- getIdType in interface XSDatatypeImpl
public Class getJavaObjectType()
gets the type of the objects that are created by the createJavaObject method.
- Specified by:
- getJavaObjectType in interface DatabindableDatatype
public boolean isContextDependent()
A property for RELAX NG DTD compatibility datatypes. Context-independent by default.
- Overrides:
- isContextDependent in interface XSDatatypeImpl
public int isFacetApplicable(String facetName)
- Specified by:
- isFacetApplicable in interface XSDatatype
public String serializeJavaObject(Object value,
SerializationContext context)converts a value object back to the lexical representation. This method is a kind of the "reverse" function of the createJavaObject method.
- Specified by:
- serializeJavaObject in interface DatabindableDatatype
- Parameters:
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.
- Returns:
- null if the given object is invalid with respect to this datatype.