Class MySchemaReaderImpl
java.lang.Object
com.thaiopensource.validate.AbstractSchemaReader
org.eclipse.lemminx.extensions.relaxng.jing.toremove.MySchemaReaderImpl
- All Implemented Interfaces:
com.thaiopensource.validate.SchemaReader
- Direct Known Subclasses:
MyCompactSchemaReader,MySAXSchemaReader
public abstract class MySchemaReaderImpl
extends com.thaiopensource.validate.AbstractSchemaReader
This class is a copy of
SchemaReaderImpl adapted for LemMinx.
This class could be removed once issues
- https://github.com/relaxng/jing-trang/pull/273
- https://github.com/relaxng/jing-trang/issues/275
- Author:
- Angelo ZERR
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.thaiopensource.util.PropertyId<com.thaiopensource.relaxng.pattern.SchemaPatternBuilder>Fields inherited from interface com.thaiopensource.validate.SchemaReader
BASE_URI -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract com.thaiopensource.relaxng.parse.Parseable<com.thaiopensource.relaxng.pattern.Pattern,com.thaiopensource.relaxng.pattern.NameClass, Locator, com.thaiopensource.util.VoidValue, com.thaiopensource.relaxng.pattern.CommentListImpl, com.thaiopensource.relaxng.pattern.AnnotationsImpl> createParseable(SAXSource source, com.thaiopensource.resolver.xml.sax.SAXResolver resolver, ErrorHandler eh, com.thaiopensource.util.PropertyMap properties) com.thaiopensource.validate.SchemacreateSchema(SAXSource source, com.thaiopensource.util.PropertyMap properties) com.thaiopensource.validate.OptionMethods inherited from class com.thaiopensource.validate.AbstractSchemaReader
createSchema
-
Field Details
-
SCHEMA_PATTERN_BUILDER
public static final com.thaiopensource.util.PropertyId<com.thaiopensource.relaxng.pattern.SchemaPatternBuilder> SCHEMA_PATTERN_BUILDER
-
-
Constructor Details
-
MySchemaReaderImpl
public MySchemaReaderImpl()
-
-
Method Details
-
createSchema
public com.thaiopensource.validate.Schema createSchema(SAXSource source, com.thaiopensource.util.PropertyMap properties) throws IOException, SAXException, com.thaiopensource.validate.IncorrectSchemaException - Throws:
IOExceptionSAXExceptioncom.thaiopensource.validate.IncorrectSchemaException
-
getOption
-
createParseable
protected abstract com.thaiopensource.relaxng.parse.Parseable<com.thaiopensource.relaxng.pattern.Pattern,com.thaiopensource.relaxng.pattern.NameClass, createParseableLocator, com.thaiopensource.util.VoidValue, com.thaiopensource.relaxng.pattern.CommentListImpl, com.thaiopensource.relaxng.pattern.AnnotationsImpl> (SAXSource source, com.thaiopensource.resolver.xml.sax.SAXResolver resolver, ErrorHandler eh, com.thaiopensource.util.PropertyMap properties) throws SAXException - Throws:
SAXException
-