|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.thaiopensource.datatype.xsd.DatatypeBase
com.thaiopensource.datatype.xsd.RestrictDatatype
com.thaiopensource.datatype.xsd.ValueRestrictDatatype
com.thaiopensource.datatype.xsd.PrecisionRestrictDatatype
class PrecisionRestrictDatatype
| Field Summary | |
|---|---|
private int |
precision
|
| Fields inherited from class com.thaiopensource.datatype.xsd.RestrictDatatype |
|---|
base |
| Fields inherited from class com.thaiopensource.datatype.xsd.DatatypeBase |
|---|
WHITE_SPACE_COLLAPSE, WHITE_SPACE_PRESERVE, WHITE_SPACE_REPLACE |
| Fields inherited from interface org.relaxng.datatype.Datatype |
|---|
ID_TYPE_ID, ID_TYPE_IDREF, ID_TYPE_IDREFS, ID_TYPE_NULL |
| Constructor Summary | |
|---|---|
PrecisionRestrictDatatype(DatatypeBase base,
int precision)
|
|
| Method Summary | |
|---|---|
(package private) static int |
getPrecision(BigDecimal n)
|
(package private) boolean |
satisfiesRestriction(Object obj)
|
| Methods inherited from class com.thaiopensource.datatype.xsd.ValueRestrictDatatype |
|---|
allowsValue, getValue |
| Methods inherited from class com.thaiopensource.datatype.xsd.RestrictDatatype |
|---|
getIdType, getMeasure, getOrderRelation, getPrimitive, lexicallyAllows, sameValue, valueHashCode |
| Methods inherited from class com.thaiopensource.datatype.xsd.DatatypeBase |
|---|
alwaysValid, checkValid, createStreamingValidator, createValue, getWhiteSpace, isContextDependent, isValid, normalizeWhiteSpace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final int precision
| Constructor Detail |
|---|
PrecisionRestrictDatatype(DatatypeBase base,
int precision)
| Method Detail |
|---|
boolean satisfiesRestriction(Object obj)
satisfiesRestriction in class ValueRestrictDatatypestatic int getPrecision(BigDecimal n)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||