com.sun.msv.grammar.relax

Class HedgeRules

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

Field Summary
booleanexported
a flag that indicates this hedgeRule is exported and therefore accessible from other modules.
RELAXModuleownerModule
RELAXModule object to which this object belongs
Method Summary
voidaddHedge(Expression exp, ExpressionPool pool)
booleanequals(Object o)
booleanisExported()
Objectvisit(RELAXExpressionVisitor visitor)
Expressionvisit(RELAXExpressionVisitorExpression visitor)
booleanvisit(RELAXExpressionVisitorBoolean visitor)
voidvisit(RELAXExpressionVisitorVoid visitor)

Field Detail

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

Method Detail

addHedge

public void addHedge(Expression exp, ExpressionPool pool)

equals

public boolean equals(Object o)

isExported

public boolean isExported()

visit

public Object visit(RELAXExpressionVisitor visitor)

visit

public Expression visit(RELAXExpressionVisitorExpression visitor)

visit

public boolean visit(RELAXExpressionVisitorBoolean visitor)

visit

public void visit(RELAXExpressionVisitorVoid visitor)