| Modifier and Type | Field and Description |
|---|---|
| private final XSDatatypeImpl | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected final boolean | checkFormat(String content, ValidationContext context)
Implements abstract com. |
| public final int | compare(Object o1, Object o2)
Implements 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. |
| protected static XSDatatypeImpl | |
| public DataTypeWithFacet | getFacetObject(String facetName)
Overrides com. Implements com. |
| public final int | isFacetApplicable(String facetName)
Implements com. |
| protected static String |
| baseFacets | back to summary |
|---|---|
| private final XSDatatypeImpl baseFacets | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| IntegerDerivedType | back to summary |
|---|---|
| protected IntegerDerivedType(String typeName, XSDatatypeImpl _baseFacets) | |
| checkFormat | back to summary |
|---|---|
| protected final boolean checkFormat(String content, ValidationContext context) Implements abstract com. | |
| compare | back to summary |
|---|---|
| public final int compare(Object o1, Object o2) Implements com. Doc from com. compare to value types and decides its order relation | |
| 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
| |
| createRangeFacet | back to summary |
|---|---|
| protected static XSDatatypeImpl createRangeFacet(XSDatatypeImpl baseType, Number min, Number max) Apply a range facet. | |
| 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
| |
| isFacetApplicable | back to summary |
|---|---|
| public final int isFacetApplicable(String facetName) Implements com. Doc from com. returns if the specified facet is applicable to this datatype.
| |
| removeOptionalPlus | back to summary |
|---|---|
| protected static String removeOptionalPlus(String s) removes leading optional '+' sign. Several Java conversion functions (e.g., Long.parseLong) do not accept leading '+' sign. | |