com.sun.msv.grammar.relaxng
Class RELAXNGGrammar

java.lang.Object
  extended by com.sun.msv.grammar.Expression
      extended by com.sun.msv.grammar.ReferenceExp
          extended by com.sun.msv.grammar.trex.TREXGrammar
              extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.msv.grammar.trex.TREXGrammar
TREXGrammar.RefContainer
 
Field Summary
 boolean isAnnotationCompatible
          the compatibility property of the annotation feature.
 boolean isDefaultAttributeValueCompatible
          the compatibility property of the default attribute feature.
 boolean isIDcompatible
          the compatibility property of the ID/IDREF feature.
 
Fields inherited from class com.sun.msv.grammar.trex.TREXGrammar
dataTypes, namedPatterns, pool
 
Fields inherited from class com.sun.msv.grammar.ReferenceExp
exp, name
 
Fields inherited from class com.sun.msv.grammar.Expression
anyString, epsilon, nullSet, verifierTag
 
Constructor Summary
RELAXNGGrammar()
           
RELAXNGGrammar(ExpressionPool pool)
           
RELAXNGGrammar(ExpressionPool pool, TREXGrammar parentGrammar)
           
 
Method Summary
 
Methods inherited from class com.sun.msv.grammar.trex.TREXGrammar
getParentGrammar, getPool, getTopLevel
 
Methods inherited from class com.sun.msv.grammar.ReferenceExp
equals, isDefined, visit, visit, visit, visit
 
Methods inherited from class com.sun.msv.grammar.Expression
getExpandedExp, hashCode, isEpsilonReducible, peelOccurence, visit, visit, visit, visit
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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.

Constructor Detail

RELAXNGGrammar

public RELAXNGGrammar(ExpressionPool pool,
                      TREXGrammar parentGrammar)

RELAXNGGrammar

public RELAXNGGrammar(ExpressionPool pool)

RELAXNGGrammar

public RELAXNGGrammar()