Package com.sun.msv.reader.trex.ng.comp
Class CompatibilityChecker
- java.lang.Object
-
- com.sun.msv.reader.trex.ng.comp.CompatibilityChecker
-
- Direct Known Subclasses:
DefAttCompatibilityChecker
,IDCompatibilityChecker
abstract class CompatibilityChecker extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected RELAXNGGrammar
grammar
protected RELAXNGCompReader
reader
-
Constructor Summary
Constructors Modifier Constructor Description protected
CompatibilityChecker(RELAXNGCompReader _reader)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
reportCompError(org.xml.sax.Locator[] locs, java.lang.String propertyName)
reports the compatibility related error.protected void
reportCompError(org.xml.sax.Locator[] locs, java.lang.String propertyName, java.lang.Object[] args)
protected abstract void
setCompatibility(boolean val)
-
-
-
Field Detail
-
reader
protected final RELAXNGCompReader reader
-
grammar
protected final RELAXNGGrammar grammar
-
-
Constructor Detail
-
CompatibilityChecker
protected CompatibilityChecker(RELAXNGCompReader _reader)
-
-
Method Detail
-
setCompatibility
protected abstract void setCompatibility(boolean val)
-
reportCompError
protected void reportCompError(org.xml.sax.Locator[] locs, java.lang.String propertyName)
reports the compatibility related error.Since the processor is required to validate a schema even if it's not compatible with some of the features, we cannot report those errors as real "errors".
-
reportCompError
protected void reportCompError(org.xml.sax.Locator[] locs, java.lang.String propertyName, java.lang.Object[] args)
-
-