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

pack-priv Class IDCompatibilityChecker

extends CompatibilityChecker
Class Inheritance
Imports
java.util.HashMap, .HashSet, .Iterator, .Map, .Set, .Vector, org.relaxng.datatype.Datatype, org.xml.sax.Locator, com.sun.msv.grammar.AttributeExp, .DataExp, .DataOrValueExp, .ElementExp, .ListExp, .NameClass, .SimpleNameClass, .ValueExp, com.sun.msv.grammar.util.ExpressionWalker, .RefExpRemover, com.sun.msv.util.StringPair

checks the compatibility of RELAX NG grammar with the ID/IDREF feature.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private static final String
private static final String
private static final String
private static final String
private static final String
Inherited from com.sun.msv.reader.trex.ng.comp.CompatibilityChecker:
grammarreader

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private static final void
_assert(boolean b)

private static String
getSemanticsStr(int type)

protected void
public void
test()

Inherited from com.sun.msv.reader.trex.ng.comp.CompatibilityChecker:
reportCompErrorreportCompError

Field Detail

CERR_COMPETINGback to summary
private static final String CERR_COMPETING
CERR_COMPETING2back to summary
private static final String CERR_COMPETING2
CERR_ID_TYPE_WITH_NON_SIMPLE_ATTNAMEback to summary
private static final String CERR_ID_TYPE_WITH_NON_SIMPLE_ATTNAME
CERR_ID_TYPE_WITH_NON_SIMPLE_ELEMENTNAMEback to summary
private static final String CERR_ID_TYPE_WITH_NON_SIMPLE_ELEMENTNAME
CERR_MALPLACED_ID_TYPEback to summary
private static final String CERR_MALPLACED_ID_TYPE

Constructor Detail

IDCompatibilityCheckerback to summary
pack-priv IDCompatibilityChecker(RELAXNGCompReader reader)

Method Detail

_assertback to summary
private static final void _assert(boolean b)
getSemanticsStrback to summary
private static String getSemanticsStr(int type)
setCompatibilityback to summary
protected void setCompatibility(boolean val)

Implements abstract com.sun.msv.reader.trex.ng.comp.CompatibilityChecker.setCompatibility.

testback to summary
public void test()
com.sun.msv.reader.trex.ng.comp back to summary

private Class IDCompatibilityChecker.IDAttMap

extends Object
Class Inheritance
  • java.lang.Object
  • com.sun.msv.reader.trex.ng.comp.IDCompatibilityChecker.IDAttMap

Field Summary

Modifier and TypeField and Description
pack-priv final Map<StringPair, Object>
pack-priv final ElementExp

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

idattsback to summary
pack-priv final Map<StringPair, Object> idatts
sampleDeclback to summary
pack-priv final ElementExp sampleDecl

Constructor Detail

IDAttMapback to summary
pack-priv IDAttMap(ElementExp e)