|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
public interface AttributeHandler
This interface defines methods for restricting the functions or values a user is allowed to enter for a given attribute.
| Method Summary | |
|---|---|
void |
checkUserValue(AttributeValue value,
AttributeDesignator attribute)
Determines if the user entered value is valid. |
void |
filterFunctions(Set functions,
AttributeDesignator attribute)
Removes functions that should not be available for the user to apply to an attribute. |
boolean |
getAllowedValues(Set values,
AttributeDesignator attribute)
Determines which values the user may select for an attribute. |
| Method Detail |
|---|
void filterFunctions(Set functions,
AttributeDesignator attribute)
functions - The Set of functions to modify in place.attribute - The relevant attribute
boolean getAllowedValues(Set values,
AttributeDesignator attribute)
values - The Set to which allowed values should be added.attribute - The relevant attribute
void checkUserValue(AttributeValue value,
AttributeDesignator attribute)
throws ParsingException
value - The value to checkattribute - The relevant attribute
ParsingException - if the user entered value is invalid
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||