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 FieldValidationStatusFieldValidationStatus. getStatus(ValidationResult vres, boolean visited)Returns theFieldValidationStatusinstance that corresponds to the givenValidationResultand 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 ValidationResultDefaultFormValidatorResults. createValidationErrorResult(Form form, String key, Object... params)Creates aValidationResultobject with an error message for a validation message.ValidationResultDefaultFormValidatorResults. getResultsFor(String field)Returns the validation results for the specified field or null if this field does not exist.ValidationResultFormValidatorResults. getResultsFor(String field)Returns theValidationResultobject for the specified field.ValidationResultDefaultValidatorWrapper. isValid(Object o)Tests whether the specified object is valid.ValidationResultValidatorWrapper. isValid(Object o)Validates the specified object.ValidationResultDefaultFieldHandler. validate(ValidationPhase phase)Performs validation for the specified phase and returns the results.ValidationResultFieldHandler. validate(ValidationPhase phase)Validates this field either at the field or the form level.protected ValidationResultDefaultFieldHandler. validateFieldData(Object data)Performs a form level validation of this field.protected ValidationResultDefaultFieldHandler. validateFieldLevel()Performs validation on the field level.protected ValidationResultDefaultFieldHandler. 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.Mapwith 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 ofDefaultFormValidatorResultsand 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 classDefaultValidationResultA default implementation of theValidationResultinterface.Fields in net.sf.jguiraffe.transform declared as ValidationResult Modifier and Type Field Description static ValidationResultDefaultValidationResult. VALIDConstant for a validation result object for a successful validation.Methods in net.sf.jguiraffe.transform that return ValidationResult Modifier and Type Method Description static ValidationResultDefaultValidationResult. createValidationErrorResult(TransformerContext context, String key, Object... params)Creates aValidationResultobject with the specified error message.protected ValidationResultDateTransformerBase. errorResult(String errorKey, TransformerContext ctx, Object... params)Creates a validation result if an error occurred.protected ValidationResultNumberTransformerBase. errorResult(String errorKey, TransformerContext ctx, Object... params)Creates a validation result if an error occurred.protected ValidationResultTimeTransformer. errorResult(String errorKey, TransformerContext ctx, Object... params)Returns a validation result object with an error message.protected ValidationResultDateTransformerBase. isDateValid(Date date, DateFormat fmt, TransformerContext ctx, org.apache.commons.configuration.Configuration config)Checks the specified date.protected ValidationResultNumberTransformerBase. isNumberValid(T n, NumberFormat fmt, TransformerContext ctx, T min, T max)Validates an entered number.ValidationResultChainValidator. isValid(Object o, TransformerContext ctx)Validates the passed in object.ValidationResultDateTransformerBase. isValid(Object o, TransformerContext ctx)Validates the passed in object.ValidationResultDummyTransformer. isValid(Object o, TransformerContext ctx)Performs validation.ValidationResultNumberTransformerBase. isValid(Object o, TransformerContext ctx)Validates the specified object.ValidationResultRegexValidator. isValid(Object o, TransformerContext ctx)Performs the validation as described in the class comment.ValidationResultRequiredValidator. isValid(Object o, TransformerContext ctx)Validates the passed in object.ValidationResultValidator. isValid(Object o, TransformerContext ctx)Validates the passed in object.static ValidationResultDefaultValidationResult. 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 ValidationResultDefaultValidationResult. merge(ValidationResult vr1, ValidationResult vr2)Combines two validation result objects to a combined result.
-