org.relaxng.datatype.helpers
Class StreamingValidatorImpl
- DatatypeStreamingValidator
Dummy implementation of
DatatypeStreamingValidator
.
This implementation can be used as a quick hack when the performance
of streaming validation is not important. And this implementation
also shows you how to implement the DatatypeStreamingValidator interface.
Typical usage would be:
class MyDatatype implements Datatype {
....
public DatatypeStreamingValidator createStreamingValidator( ValidationContext context ) {
return new StreamingValidatorImpl(this,context);
}
....
}
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |