1 package com.thaiopensource.validate.schematron; 2 3 import com.thaiopensource.util.PropertyId; 4 import com.thaiopensource.util.PropertyMap; 5 import com.thaiopensource.validate.AbstractSchema; 6 import com.thaiopensource.validate.Validator; 7 8 import javax.xml.transform.Templates ; 9 10 class SchemaImpl extends AbstractSchema { 11 private final Templates templates; 12 13 SchemaImpl(Templates templates, PropertyMap properties, PropertyId[] supportedPropertyIds) { 14 super(properties, supportedPropertyIds); 15 this.templates = templates; 16 } 17 18 public Validator createValidator(PropertyMap properties) { 19 return new ValidatorImpl(templates, properties); 20 } 21 } 22 | Popular Tags |