Class ElementExp

java.lang.Object
com.sun.msv.grammar.Expression
com.sun.msv.grammar.ElementExp
All Implemented Interfaces:
NameClassAndExpression, Serializable
Direct Known Subclasses:
AnyOtherElementExp, ElementDeclExp.XSElementExp, ElementPattern, ElementRule, ExternalElementExp

public abstract class ElementExp extends Expression implements NameClassAndExpression
Element declaration. For RELAX, this is a base implementation of 'elementRule' declaration. For TREX, this is a base implementation of 'element' pattern. Each grammar must/can provide only one concrete implementation. Therefore, they cannot override visit method.

This class can be extended.

Author:
Kohsuke KAWAGUCHI
See Also:
  • Field Details

    • contentModel

      public Expression contentModel
      content model of this element declaration.
    • ignoreUndeclaredAttributes

      public boolean ignoreUndeclaredAttributes
      a flag that indicates undeclared attributes should be ignored.
  • Constructor Details

    • ElementExp

      public ElementExp(Expression contentModel, boolean ignoreUndeclaredAttributes)
  • Method Details