1 22 23 package org.xquark.schema.validation; 24 25 import org.xml.sax.XMLReader ; 26 import org.xquark.schema.SchemaLocator; 27 import org.xquark.util.DecoratorFilter; 28 29 public class ValidatingSchemaFilter extends DecoratorFilter 30 { 31 private static final String RCSRevision = "$Revision: 1.1 $"; 32 private static final String RCSName = "$Name: $"; 33 34 public ValidatingSchemaFilter(XMLReader reader, SchemaValidationContext svContext) { 35 this(reader, svContext, svContext, true); 36 } 37 38 public ValidatingSchemaFilter(XMLReader reader, SchemaValidationContext svContext, boolean strict) { 39 this(reader, svContext, svContext, strict); 40 } 41 42 public ValidatingSchemaFilter(XMLReader reader, SchemaValidationContext svContext, SchemaLocator locator) { 43 this(reader, svContext, locator, true); 44 } 45 46 public ValidatingSchemaFilter(XMLReader reader, SchemaValidationContext svContext, SchemaLocator locator, boolean strict) { 47 super(reader, new ValidatingSchemaHandler(svContext, locator, strict)); 48 } 49 50 } 51 52 | Popular Tags |