public class SchemaProvider extends Object
Modifier and Type | Method and Description |
---|---|
static com.thaiopensource.validate.Schema |
getSchema(String systemId,
String baseSystemId,
org.apache.xerces.xni.parser.XMLEntityResolver entityResolver,
org.apache.xerces.impl.XMLErrorReporter errorReporter,
org.apache.xerces.xni.grammars.XMLGrammarPool pool) |
static com.thaiopensource.validate.Schema |
loadSchema(RelaxNGDescription description,
org.apache.xerces.xni.parser.XMLEntityResolver entityResolver,
org.apache.xerces.impl.XMLErrorReporter errorReporter,
com.thaiopensource.relaxng.pattern.SchemaPatternBuilder schemaPatternBuilder) |
static void |
validate(com.thaiopensource.validate.Schema schema,
XMLReader xr,
org.apache.xerces.impl.XMLErrorReporter errorReporter) |
public static com.thaiopensource.validate.Schema getSchema(String systemId, String baseSystemId, org.apache.xerces.xni.parser.XMLEntityResolver entityResolver, org.apache.xerces.impl.XMLErrorReporter errorReporter, org.apache.xerces.xni.grammars.XMLGrammarPool pool) throws org.apache.xerces.xni.XNIException, IOException, SAXException, com.thaiopensource.validate.IncorrectSchemaException
org.apache.xerces.xni.XNIException
IOException
SAXException
com.thaiopensource.validate.IncorrectSchemaException
public static com.thaiopensource.validate.Schema loadSchema(RelaxNGDescription description, org.apache.xerces.xni.parser.XMLEntityResolver entityResolver, org.apache.xerces.impl.XMLErrorReporter errorReporter, com.thaiopensource.relaxng.pattern.SchemaPatternBuilder schemaPatternBuilder) throws org.apache.xerces.util.URI.MalformedURIException, IOException, SAXException, com.thaiopensource.validate.IncorrectSchemaException
org.apache.xerces.util.URI.MalformedURIException
IOException
SAXException
com.thaiopensource.validate.IncorrectSchemaException
public static void validate(com.thaiopensource.validate.Schema schema, XMLReader xr, org.apache.xerces.impl.XMLErrorReporter errorReporter)
Copyright © 2022. All rights reserved.