java.lang.Object
org.apache.jena.ext.xerces.impl.dv.xs.TypeValidator
- Direct Known Subclasses:
AbstractDateTimeDV
,AnySimpleDV
,AnyURIDV
,Base64BinaryDV
,BooleanDV
,DecimalDV
,DoubleDV
,FloatDV
,HexBinaryDV
,StringDV
All primitive types plus ID/IDREF/ENTITY/INTEGER are derived from this abstract
class. It provides extra information XSSimpleTypeDecl requires from each
type: allowed facets, converting String to actual value, check equality,
comparison, etc.
@xerces.internal
- Version:
- $Id: TypeValidator.java 446745 2006-09-15 21:43:58Z mrglavas $
- Author:
- Neeraj Bajaj, Sun Microsystems, inc., Sandy Gao, IBM
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final short
static final short
static final short
static final short
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
abstract Object
getActualValue
(String content) abstract short
static final int
getDigit
(char ch) int
getFractionDigits
(Object value) int
getTotalDigits
(Object value) static final boolean
isDigit
(char ch)
-
Field Details
-
LESS_THAN
public static final short LESS_THAN- See Also:
-
EQUAL
public static final short EQUAL- See Also:
-
GREATER_THAN
public static final short GREATER_THAN- See Also:
-
INDETERMINATE
public static final short INDETERMINATE- See Also:
-
-
Constructor Details
-
TypeValidator
public TypeValidator()
-
-
Method Details
-
getAllowedFacets
public abstract short getAllowedFacets() -
getActualValue
- Throws:
InvalidDatatypeValueException
-
compare
-
getTotalDigits
-
getFractionDigits
-
isDigit
public static final boolean isDigit(char ch) -
getDigit
public static final int getDigit(char ch)
-