Package org.apache.pivot.wtk.validation
Class DoubleValidator
- java.lang.Object
-
- org.apache.pivot.wtk.validation.FormattedValidator<java.text.NumberFormat>
-
- org.apache.pivot.wtk.validation.DecimalValidator
-
- org.apache.pivot.wtk.validation.DoubleValidator
-
- All Implemented Interfaces:
Validator
- Direct Known Subclasses:
DoubleRangeValidator
public class DoubleValidator extends DecimalValidator
A validator for a double value.Beware that usual math rules for native primitive types (and related approximations) are applied here.
- See Also:
BigDecimalValidator
-
-
Field Summary
-
Fields inherited from class org.apache.pivot.wtk.validation.FormattedValidator
format, locale
-
-
Constructor Summary
Constructors Constructor Description DoubleValidator()
DoubleValidator(java.util.Locale locale)
-
Method Summary
-
Methods inherited from class org.apache.pivot.wtk.validation.DecimalValidator
isAutoTrim, parseNumber, setAutoTrim, textToBigDecimal
-
Methods inherited from class org.apache.pivot.wtk.validation.FormattedValidator
isValid
-
-