< prev index next >

src/jdk.xml.bind/share/classes/org/relaxng/datatype/helpers/StreamingValidatorImpl.java

Print this page

        

*** 43,61 **** * of streaming validation is not important. And this implementation * also shows you how to implement the DatatypeStreamingValidator interface. * * <p> * Typical usage would be: ! * <PRE><XMP> * class MyDatatype implements Datatype { * .... * public DatatypeStreamingValidator createStreamingValidator( ValidationContext context ) { * return new StreamingValidatorImpl(this,context); * } * .... * } ! * </XMP></PRE> * * @author <a href="mailto:kohsuke.kawaguchi@sun.com">Kohsuke KAWAGUCHI</a> */ public final class StreamingValidatorImpl implements DatatypeStreamingValidator { --- 43,61 ---- * of streaming validation is not important. And this implementation * also shows you how to implement the DatatypeStreamingValidator interface. * * <p> * Typical usage would be: ! * <PRE>{@code * class MyDatatype implements Datatype { * .... * public DatatypeStreamingValidator createStreamingValidator( ValidationContext context ) { * return new StreamingValidatorImpl(this,context); * } * .... * } ! * }</PRE> * * @author <a href="mailto:kohsuke.kawaguchi@sun.com">Kohsuke KAWAGUCHI</a> */ public final class StreamingValidatorImpl implements DatatypeStreamingValidator {
< prev index next >