com.sun.msv.grammar.relaxng

Class RELAXNGGrammar

public class RELAXNGGrammar extends TREXGrammar

Grammar for RELAX NG (with DTD compatibility annotation).

Author: Kohsuke KAWAGUCHI

Field Summary
booleanisAnnotationCompatible
the compatibility property of the annotation feature.
booleanisDefaultAttributeValueCompatible
the compatibility property of the default attribute feature.
booleanisIDcompatible
the compatibility property of the ID/IDREF feature.
Constructor Summary
RELAXNGGrammar(ExpressionPool pool, TREXGrammar parentGrammar)
RELAXNGGrammar(ExpressionPool pool)
RELAXNGGrammar()

Field Detail

isAnnotationCompatible

public boolean isAnnotationCompatible
the compatibility property of the annotation feature. This flag is set to true if this schema is compatible in terms of the annotation feature, as defined in the spec.

isDefaultAttributeValueCompatible

public boolean isDefaultAttributeValueCompatible
the compatibility property of the default attribute feature. This flag is set to true if this schema is compatible in terms of the default attribute value feature, as defined in the spec.

Note that the currently we don't support infoset augmentation.

isIDcompatible

public boolean isIDcompatible
the compatibility property of the ID/IDREF feature. This flag is set to true if this schema is compatible in terms of ID/IDREF, as defined in the spec.

Constructor Detail

RELAXNGGrammar

public RELAXNGGrammar(ExpressionPool pool, TREXGrammar parentGrammar)

RELAXNGGrammar

public RELAXNGGrammar(ExpressionPool pool)

RELAXNGGrammar

public RELAXNGGrammar()