org.whattf.datatype
Class DatatypeStreamingValidatorImpl
java.lang.Object
org.whattf.datatype.DatatypeStreamingValidatorImpl
- All Implemented Interfaces:
- DatatypeStreamingValidator
public final class DatatypeStreamingValidatorImpl
- extends Object
- implements DatatypeStreamingValidator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
datatype
private final AbstractDatatype datatype
buffer
private final StringBuilder buffer
DatatypeStreamingValidatorImpl
public DatatypeStreamingValidatorImpl(AbstractDatatype datatype)
addCharacters
public void addCharacters(char[] buf,
int start,
int len)
- Specified by:
addCharacters
in interface DatatypeStreamingValidator
isValid
public boolean isValid()
- Specified by:
isValid
in interface DatatypeStreamingValidator
checkValid
public void checkValid()
throws DatatypeException
- Specified by:
checkValid
in interface DatatypeStreamingValidator
- Throws:
DatatypeException