1 57 package com.sun.org.apache.xerces.internal.jaxp.validation; 58 59 import javax.xml.validation.Schema ; 60 import javax.xml.validation.Validator ; 61 import javax.xml.validation.ValidatorHandler ; 62 63 73 public abstract class XercesSchema extends Schema { 74 83 public abstract InsulatedValidatorComponent newXNIValidator(); 84 85 public final ValidatorHandler newValidatorHandler() { 86 return _newValidatorHandler(); 87 } 88 89 public final Validator newValidator() { 90 return new ValidatorImpl(_newValidatorHandler()); 91 } 92 93 private ValidatorHandlerImpl _newValidatorHandler() { 94 return new ValidatorHandlerImpl(newXNIValidator()); 95 } 96 } 97 | Popular Tags |