Methods Summary |
---|
public int | compare(java.lang.Object value1, java.lang.Object value2)
return ((XPrecisionDecimal)value1).compareTo((XPrecisionDecimal)value2);
|
public java.lang.Object | getActualValue(java.lang.String content, org.apache.xerces.impl.dv.ValidationContext context)
try {
return new XPrecisionDecimal(content);
} catch (NumberFormatException nfe) {
throw new InvalidDatatypeValueException("cvc-datatype-valid.1.2.1", new Object[]{content, "precisionDecimal"});
}
|
public short | getAllowedFacets()
return ( XSSimpleTypeDecl.FACET_PATTERN | XSSimpleTypeDecl.FACET_WHITESPACE | XSSimpleTypeDecl.FACET_ENUMERATION |XSSimpleTypeDecl.FACET_MAXINCLUSIVE |XSSimpleTypeDecl.FACET_MININCLUSIVE | XSSimpleTypeDecl.FACET_MAXEXCLUSIVE | XSSimpleTypeDecl.FACET_MINEXCLUSIVE | XSSimpleTypeDecl.FACET_TOTALDIGITS | XSSimpleTypeDecl.FACET_FRACTIONDIGITS);
|
public int | getFractionDigits(java.lang.Object value)
return ((XPrecisionDecimal)value).fracDigits;
|
public int | getTotalDigits(java.lang.Object value)
return ((XPrecisionDecimal)value).totalDigits;
|
public boolean | isIdentical(java.lang.Object value1, java.lang.Object value2)
if(!(value2 instanceof XPrecisionDecimal) || !(value1 instanceof XPrecisionDecimal))
return false;
return ((XPrecisionDecimal)value1).isIdentical((XPrecisionDecimal)value2);
|