com.sun.msv.grammar.relaxng
Class RELAXNGGrammar
java.lang.Object
com.sun.msv.grammar.Expression
com.sun.msv.grammar.ReferenceExp
com.sun.msv.grammar.trex.TREXGrammar
com.sun.msv.grammar.relaxng.RELAXNGGrammar
- All Implemented Interfaces:
- Grammar, Serializable
public class RELAXNGGrammar
- extends TREXGrammar
Grammar for RELAX NG (with DTD compatibility annotation).
- Author:
- Kohsuke KAWAGUCHI
- See Also:
- Serialized Form
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.
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.
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.
RELAXNGGrammar
public RELAXNGGrammar(ExpressionPool pool,
TREXGrammar parentGrammar)
RELAXNGGrammar
public RELAXNGGrammar(ExpressionPool pool)
RELAXNGGrammar
public RELAXNGGrammar()