< prev index next >

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

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2005, 2015, Thai Open Source Software Center Ltd * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: --- 1,7 ---- /* ! * Copyright (c) 2005, 2010, Thai Open Source Software Center Ltd * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met:
*** 44,62 **** * 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 { --- 44,62 ---- * 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 {
< prev index next >