| Modifier and Type | Field and Description |
|---|---|
| public final XSDatatypeImpl | baseType
immediate base type, which may be a concrete type or DataTypeWithFacet |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | _checkValid(String content, ValidationContext context)
Implements abstract com. |
| public Object | _createJavaObject(String literal, ValidationContext context)
Implements abstract com. |
| public Object | _createValue(String content, ValidationContext context)
Implements abstract com. |
| public boolean | checkFormat(String content, ValidationContext context)
Implements abstract com. |
| public String | convertToLexicalValue(Object value, SerializationContext
Context information that will be possibly used for the conversion.
Currently, this object is used only by QName, but may be extended
in the future. context)Implements com. |
| public String | displayName()
Implements com. |
| public final XSDatatype | getBaseType()
Implements com. |
| public ConcreteType | getConcreteType()
Implements abstract com. |
| public DataTypeWithFacet | getFacetObject(String facetName)
Overrides com. Implements com. |
| public int | getIdType()
Overrides com. Implements org. |
| public Class | getJavaObjectType()
Implements com. |
| public int | getVariety()
Implements com. |
| public boolean | isContextDependent()
Overrides com. Implements org. |
| public int | isFacetApplicable(String facetName)
Implements com. |
| public boolean | isFinal(int
one of pre-defined values (DERIVATION_BY_XXX). derivationType)Implements com. |
| public String | serializeJavaObject(Object value, SerializationContext
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. context)Implements com. |
| baseType | back to summary |
|---|---|
| public final XSDatatypeImpl baseType immediate base type, which may be a concrete type or DataTypeWithFacet | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| Proxy | back to summary |
|---|---|
| public Proxy(String nsUri, String newTypeName, XSDatatypeImpl baseType) | |
| _checkValid | back to summary |
|---|---|
| public void _checkValid(String content, ValidationContext context) throws DatatypeException Implements abstract com. Doc from com. actual 'meat' of the checkValid method | |
| _createJavaObject | back to summary |
|---|---|
| public Object _createJavaObject(String literal, ValidationContext context) Implements abstract com. | |
| _createValue | back to summary |
|---|---|
| public Object _createValue(String content, ValidationContext context) Implements abstract com. Doc from com. converts a whitespace-processed lexical value into the corresponding value object | |
| checkFormat | back to summary |
|---|---|
| public boolean checkFormat(String content, ValidationContext context) Implements abstract com. | |
| convertToLexicalValue | back to summary |
|---|---|
| public String convertToLexicalValue(Object value, SerializationContext context) Implements com. Doc from com. converts value object back to the corresponding value in the lexical space. This method does the reverse operation of the createValue method. The returned string is not necessarily the canonical representation. Also note that the implementation may accept invalid values without throwing IllegalArgumentException. To make sure that the result is actually a valid representation, call the isValid method.
Be careful not to confuse this method with
The serializeJavaObject method, which is defined in
the
| |
| displayName | back to summary |
|---|---|
| public String displayName() Implements com. Doc from com. gets the displayable name of this type. This method always return something. It is useful to provide a message to the user. This method is an ad-hoc method and there is no corresponding property in the spec. | |
| getBaseType | back to summary |
|---|---|
| public final XSDatatype getBaseType() Implements com. Doc from com. gets the base type of this type. This method returns null if this object represents the simple ur-type. This method is intended to capture the semantics of the base type definition property of the simple type component, but there is an important difference. Specifically, if you derive a type D from another type B, then calling D.getBaseType() does not necessarily return B. Instead, it may return an intermediate object (that represents a facet). Calling the getBaseType method recursively will eventually return B. | |
| getConcreteType | back to summary |
|---|---|
| public ConcreteType getConcreteType() Implements abstract com. Doc from com. gets the concrete type object of the restriction chain. | |
| getFacetObject | back to summary |
|---|---|
| public DataTypeWithFacet getFacetObject(String facetName) Overrides com. Implements com. Doc from com. gets the facet object that restricts the specified facet
| |
| getIdType | back to summary |
|---|---|
| public int getIdType() Overrides com. Implements org. Doc from com. A property for RELAX NG DTD compatibility datatypes.
| |
| getJavaObjectType | back to summary |
|---|---|
| public Class Implements com. Doc from com. gets the type of the objects that are created by the createJavaObject method. | |
| getVariety | back to summary |
|---|---|
| public int getVariety() Implements com. Doc from com. gets the variety of this simple type.
| |
| isContextDependent | back to summary |
|---|---|
| public boolean isContextDependent() Overrides com. Implements org. Doc from com. A property for RELAX NG DTD compatibility datatypes. Context-independent by default.
| |
| isFacetApplicable | back to summary |
|---|---|
| public int isFacetApplicable(String facetName) Implements com. Doc from com. returns if the specified facet is applicable to this datatype.
| |
| isFinal | back to summary |
|---|---|
| public boolean isFinal(int derivationType) Implements com. Doc from com. checks if this type is declared as final for the specified kind of derivation. In the terminology of the spec, this method can be used to examine the final property of this component.
| |
| serializeJavaObject | back to summary |
|---|---|
| public String serializeJavaObject(Object value, SerializationContext context) Implements com. Doc from com. converts a value object back to the lexical representation. This method is a kind of the "reverse" function of the createJavaObject method.
| |