|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Datatype streaming validator. The streaming validator is an optional feature that is useful for certain datatypes. It allows the caller to incrementally provide the literal.
Method Summary | |
boolean |
characters(char[] buf,
int start,
int len)
let a streaming validator process additional literal fragment. |
boolean |
isValid()
gets if the accumulated literal is valid with respect to the underlying datatype. |
void |
reset()
purges the accumulated literal, and start all over again. |
Method Detail |
public void reset()
This method can be used to reduce the number of the creation of this datatype.
public boolean characters(char[] buf, int start, int len)
The application can call this method several times, then call the isValid method to check the validity.
public boolean isValid()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |