Top Fields Constructors Methods
com.sun.msv.reader.trex.ng.comp

pack-priv abstract Class CompatibilityChecker

extends Object
Class Inheritance
Known Direct Subclasses
com.sun.msv.reader.trex.ng.comp.DefAttCompatibilityChecker, com.sun.msv.reader.trex.ng.comp.IDCompatibilityChecker
Imports
org.xml.sax.Locator, com.sun.msv.grammar.relaxng.RELAXNGGrammar

Field Summary

Modifier and TypeField and Description
protected final RELAXNGGrammar
protected final RELAXNGCompReader

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
protected void
reportCompError(Locator[] locs, String propertyName)

reports the compatibility related error.

protected void
reportCompError(Locator[] locs, String propertyName, Object[] args)

protected abstract void
setCompatibility(boolean val)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

grammarback to summary
protected final RELAXNGGrammar grammar
readerback to summary
protected final RELAXNGCompReader reader

Constructor Detail

CompatibilityCheckerback to summary
protected CompatibilityChecker(RELAXNGCompReader _reader)

Method Detail

reportCompErrorback to summary
protected void reportCompError(Locator[] locs, 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".

reportCompErrorback to summary
protected void reportCompError(Locator[] locs, String propertyName, Object[] args)
setCompatibilityback to summary
protected abstract void setCompatibility(boolean val)