com.sun.msv.grammar.relax
Class HedgeRules
java.lang.Object
|
+--com.sun.msv.grammar.Expression
|
+--com.sun.msv.grammar.ReferenceExp
|
+--com.sun.msv.grammar.relax.HedgeRules
- All Implemented Interfaces:
- Exportable, Serializable
- public class HedgeRules
- extends ReferenceExp
- implements Exportable
hedgeRule of RELAX module.
ReferenceExp.exp holds a choice of the content models of all hedgeRules that
share the same label name.
- Author:
- Kohsuke KAWAGUCHI
- See Also:
- Serialized Form
Field Summary |
boolean |
exported
a flag that indicates this hedgeRule is exported and
therefore accessible from other modules. |
RELAXModule |
ownerModule
RELAXModule object to which this object belongs |
exported
public boolean exported
- a flag that indicates this hedgeRule is exported and
therefore accessible from other modules.
ownerModule
public final RELAXModule ownerModule
- RELAXModule object to which this object belongs
addHedge
public void addHedge(Expression exp,
ExpressionPool pool)
equals
public boolean equals(Object o)
- Overrides:
equals
in class ReferenceExp
visit
public Object visit(RELAXExpressionVisitor visitor)
- Overrides:
visit
in class Expression
visit
public Expression visit(RELAXExpressionVisitorExpression visitor)
- Overrides:
visit
in class Expression
visit
public boolean visit(RELAXExpressionVisitorBoolean visitor)
- Overrides:
visit
in class Expression
visit
public void visit(RELAXExpressionVisitorVoid visitor)
- Overrides:
visit
in class Expression
isExported
public boolean isExported()
- Specified by:
isExported
in interface Exportable