Package com.sun.msv.reader.trex.ng.comp
Class IDCompatibilityChecker
- java.lang.Object
-
- com.sun.msv.reader.trex.ng.comp.CompatibilityChecker
-
- com.sun.msv.reader.trex.ng.comp.IDCompatibilityChecker
-
class IDCompatibilityChecker extends CompatibilityChecker
checks the compatibility of RELAX NG grammar with the ID/IDREF feature.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
IDCompatibilityChecker.IDAttMap
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
CERR_COMPETING
private static java.lang.String
CERR_COMPETING2
private static java.lang.String
CERR_ID_TYPE_WITH_NON_SIMPLE_ATTNAME
private static java.lang.String
CERR_ID_TYPE_WITH_NON_SIMPLE_ELEMENTNAME
private static java.lang.String
CERR_MALPLACED_ID_TYPE
-
Fields inherited from class com.sun.msv.reader.trex.ng.comp.CompatibilityChecker
grammar, reader
-
-
Constructor Summary
Constructors Constructor Description IDCompatibilityChecker(RELAXNGCompReader reader)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static void
_assert(boolean b)
private static java.lang.String
getSemanticsStr(int type)
protected void
setCompatibility(boolean val)
void
test()
-
Methods inherited from class com.sun.msv.reader.trex.ng.comp.CompatibilityChecker
reportCompError, reportCompError
-
-
-
-
Field Detail
-
CERR_MALPLACED_ID_TYPE
private static final java.lang.String CERR_MALPLACED_ID_TYPE
- See Also:
- Constant Field Values
-
CERR_ID_TYPE_WITH_NON_SIMPLE_ATTNAME
private static final java.lang.String CERR_ID_TYPE_WITH_NON_SIMPLE_ATTNAME
- See Also:
- Constant Field Values
-
CERR_ID_TYPE_WITH_NON_SIMPLE_ELEMENTNAME
private static final java.lang.String CERR_ID_TYPE_WITH_NON_SIMPLE_ELEMENTNAME
- See Also:
- Constant Field Values
-
CERR_COMPETING
private static final java.lang.String CERR_COMPETING
- See Also:
- Constant Field Values
-
CERR_COMPETING2
private static final java.lang.String CERR_COMPETING2
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IDCompatibilityChecker
IDCompatibilityChecker(RELAXNGCompReader reader)
-
-
Method Detail
-
setCompatibility
protected void setCompatibility(boolean val)
- Specified by:
setCompatibility
in classCompatibilityChecker
-
test
public void test()
-
getSemanticsStr
private static java.lang.String getSemanticsStr(int type)
-
_assert
private static final void _assert(boolean b)
-
-