|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IValidator
implemented by users who wish to validate a component, and to verify that
certain features and properties of these components are in accord with
pre-defined constraints as specified in a IRuleSet
within a
IRuleBase
, such as an XML validation document. An example is
packaged with this application for performing validation of Swing GUIs with
respect to their degree of accessibility.
IRuleBase
,
IRuleSet
Method Summary | |
---|---|
IRuleSet |
getRuleSet()
return the ruleSet being used by this validator |
void |
setRuleSet(IRuleSet ruleSet)
set the rule set to be used for validating the components |
void |
validate(IValidationContext context,
Object component)
validates an individual component. |
Method Detail |
---|
void setRuleSet(IRuleSet ruleSet)
ruleSet
- IRuleSet getRuleSet()
void validate(IValidationContext context, Object component)
IValidationProcess
in response to
ExecutionPoint
objects.
component
- -- component to validateValidationProcessManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |