|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface is used with a masked text to perform mask validation process. The interface provides following abilities
isHandlesTag method is executed.
getBlankChar method.
completeValue method.
isValidValue method.
| Method Summary | |
java.lang.String |
completeValue(MaskElement e,
java.lang.String newValue)
Completes the new value for the specified mask element. |
char |
getBlankChar(char tag)
Gets the blank character for the specified mask tag. |
int |
getTypeByTag(char tag)
Gets the type for the specified mask tag. |
boolean |
isHandledTag(char tag)
Tests if the mask tag is handled with the validator. |
boolean |
isValidValue(MaskElement e,
java.lang.String newValue)
Tests if the specified value is valid for the mask element. |
| Method Detail |
public boolean isHandledTag(char tag)
tag - the mask tag.true if the mask handles the specified mask tag; otherwise
false.public int getTypeByTag(char tag)
tag - the mask tag.public char getBlankChar(char tag)
tag - the mask tag.
public boolean isValidValue(MaskElement e,
java.lang.String newValue)
e - the mask element.newValue - the new value.true if the mask value is valid; otherwise
false.
public java.lang.String completeValue(MaskElement e,
java.lang.String newValue)
e - the mask element.newValue - the new value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||