Uses of Interface
net.sf.jguiraffe.transform.ValidationResult
-
Packages that use ValidationResult Package Description net.sf.jguiraffe.gui.builder.window.ctrl This package contains classes and interfaces for the implementation of form controllers.net.sf.jguiraffe.gui.forms A package for dealing with forms.net.sf.jguiraffe.transform The transform package contains interfaces and classes for transforming and validating data. -
-
Uses of ValidationResult in net.sf.jguiraffe.gui.builder.window.ctrl
Methods in net.sf.jguiraffe.gui.builder.window.ctrl with parameters of type ValidationResult Modifier and Type Method Description static FieldValidationStatus
FieldValidationStatus. getStatus(ValidationResult vres, boolean visited)
Returns theFieldValidationStatus
instance that corresponds to the givenValidationResult
and visited status. -
Uses of ValidationResult in net.sf.jguiraffe.gui.forms
Methods in net.sf.jguiraffe.gui.forms that return ValidationResult Modifier and Type Method Description static ValidationResult
DefaultFormValidatorResults. createValidationErrorResult(Form form, String key, Object... params)
Creates aValidationResult
object with an error message for a validation message.ValidationResult
DefaultFormValidatorResults. getResultsFor(String field)
Returns the validation results for the specified field or null if this field does not exist.ValidationResult
FormValidatorResults. getResultsFor(String field)
Returns theValidationResult
object for the specified field.ValidationResult
DefaultValidatorWrapper. isValid(Object o)
Tests whether the specified object is valid.ValidationResult
ValidatorWrapper. isValid(Object o)
Validates the specified object.ValidationResult
DefaultFieldHandler. validate(ValidationPhase phase)
Performs validation for the specified phase and returns the results.ValidationResult
FieldHandler. validate(ValidationPhase phase)
Validates this field either at the field or the form level.protected ValidationResult
DefaultFieldHandler. validateFieldData(Object data)
Performs a form level validation of this field.protected ValidationResult
DefaultFieldHandler. validateFieldLevel()
Performs validation on the field level.protected ValidationResult
DefaultFieldHandler. validateFormLevel()
Performs validation on the form level.Methods in net.sf.jguiraffe.gui.forms that return types with arguments of type ValidationResult Modifier and Type Method Description static Map<String,ValidationResult>
DefaultFormValidatorResults. validResultMapForForm(Form form)
Creates ajava.util.Map
with validation information for all fields of the specifiedForm
.Constructor parameters in net.sf.jguiraffe.gui.forms with type arguments of type ValidationResult Constructor Description DefaultFormValidatorResults(Map<String,? extends ValidationResult> fieldData)
Creates a new instance ofDefaultFormValidatorResults
and initializes it with a map holding information about fields and their validation status. -
Uses of ValidationResult in net.sf.jguiraffe.transform
Classes in net.sf.jguiraffe.transform that implement ValidationResult Modifier and Type Class Description class
DefaultValidationResult
A default implementation of theValidationResult
interface.Fields in net.sf.jguiraffe.transform declared as ValidationResult Modifier and Type Field Description static ValidationResult
DefaultValidationResult. VALID
Constant for a validation result object for a successful validation.Methods in net.sf.jguiraffe.transform that return ValidationResult Modifier and Type Method Description static ValidationResult
DefaultValidationResult. createValidationErrorResult(TransformerContext context, String key, Object... params)
Creates aValidationResult
object with the specified error message.protected ValidationResult
DateTransformerBase. errorResult(String errorKey, TransformerContext ctx, Object... params)
Creates a validation result if an error occurred.protected ValidationResult
NumberTransformerBase. errorResult(String errorKey, TransformerContext ctx, Object... params)
Creates a validation result if an error occurred.protected ValidationResult
TimeTransformer. errorResult(String errorKey, TransformerContext ctx, Object... params)
Returns a validation result object with an error message.protected ValidationResult
DateTransformerBase. isDateValid(Date date, DateFormat fmt, TransformerContext ctx, org.apache.commons.configuration.Configuration config)
Checks the specified date.protected ValidationResult
NumberTransformerBase. isNumberValid(T n, NumberFormat fmt, TransformerContext ctx, T min, T max)
Validates an entered number.ValidationResult
ChainValidator. isValid(Object o, TransformerContext ctx)
Validates the passed in object.ValidationResult
DateTransformerBase. isValid(Object o, TransformerContext ctx)
Validates the passed in object.ValidationResult
DummyTransformer. isValid(Object o, TransformerContext ctx)
Performs validation.ValidationResult
NumberTransformerBase. isValid(Object o, TransformerContext ctx)
Validates the specified object.ValidationResult
RegexValidator. isValid(Object o, TransformerContext ctx)
Performs the validation as described in the class comment.ValidationResult
RequiredValidator. isValid(Object o, TransformerContext ctx)
Validates the passed in object.ValidationResult
Validator. isValid(Object o, TransformerContext ctx)
Validates the passed in object.static ValidationResult
DefaultValidationResult. merge(ValidationResult vr1, ValidationResult vr2)
Combines two validation result objects to a combined result.Methods in net.sf.jguiraffe.transform with parameters of type ValidationResult Modifier and Type Method Description static ValidationResult
DefaultValidationResult. merge(ValidationResult vr1, ValidationResult vr2)
Combines two validation result objects to a combined result.
-