Class ExportedHedgeRuleChecker
- java.lang.Object
-
- com.sun.msv.reader.relax.core.checker.ExportedHedgeRuleChecker
-
- All Implemented Interfaces:
ExpressionVisitorBoolean
,RELAXExpressionVisitorBoolean
public final class ExportedHedgeRuleChecker extends Object implements RELAXExpressionVisitorBoolean
the purpose of this function object is to make sure that the expression does not contain references to modules other than one specified by this variable.- Author:
- Kohsuke KAWAGUCHI
-
-
Field Summary
Fields Modifier and Type Field Description ReferenceExp[]
errorSnapshot
-
Constructor Summary
Constructors Constructor Description ExportedHedgeRuleChecker(RELAXModule module)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
onAnyString()
boolean
onAttPool(AttPoolClause exp)
boolean
onAttribute(AttributeExp exp)
boolean
onChoice(ChoiceExp exp)
boolean
onConcur(ConcurExp exp)
boolean
onData(DataExp exp)
boolean
onElement(ElementExp exp)
boolean
onElementRules(ElementRules exp)
boolean
onEpsilon()
boolean
onHedgeRules(HedgeRules exp)
boolean
onInterleave(InterleaveExp exp)
boolean
onList(ListExp exp)
boolean
onMixed(MixedExp exp)
boolean
onNullSet()
boolean
onOneOrMore(OneOrMoreExp exp)
boolean
onOther(OtherExp exp)
boolean
onRef(ReferenceExp exp)
boolean
onSequence(SequenceExp exp)
boolean
onTag(TagClause exp)
boolean
onValue(ValueExp exp)
-
-
-
Field Detail
-
errorSnapshot
public ReferenceExp[] errorSnapshot
-
-
Constructor Detail
-
ExportedHedgeRuleChecker
public ExportedHedgeRuleChecker(RELAXModule module)
-
-
Method Detail
-
onAttribute
public boolean onAttribute(AttributeExp exp)
- Specified by:
onAttribute
in interfaceExpressionVisitorBoolean
-
onChoice
public boolean onChoice(ChoiceExp exp)
- Specified by:
onChoice
in interfaceExpressionVisitorBoolean
-
onSequence
public boolean onSequence(SequenceExp exp)
- Specified by:
onSequence
in interfaceExpressionVisitorBoolean
-
onElement
public boolean onElement(ElementExp exp)
- Specified by:
onElement
in interfaceExpressionVisitorBoolean
-
onOneOrMore
public boolean onOneOrMore(OneOrMoreExp exp)
- Specified by:
onOneOrMore
in interfaceExpressionVisitorBoolean
-
onMixed
public boolean onMixed(MixedExp exp)
- Specified by:
onMixed
in interfaceExpressionVisitorBoolean
-
onRef
public boolean onRef(ReferenceExp exp)
- Specified by:
onRef
in interfaceExpressionVisitorBoolean
-
onOther
public boolean onOther(OtherExp exp)
- Specified by:
onOther
in interfaceExpressionVisitorBoolean
-
onEpsilon
public boolean onEpsilon()
- Specified by:
onEpsilon
in interfaceExpressionVisitorBoolean
-
onNullSet
public boolean onNullSet()
- Specified by:
onNullSet
in interfaceExpressionVisitorBoolean
-
onAnyString
public boolean onAnyString()
- Specified by:
onAnyString
in interfaceExpressionVisitorBoolean
-
onData
public boolean onData(DataExp exp)
- Specified by:
onData
in interfaceExpressionVisitorBoolean
-
onValue
public boolean onValue(ValueExp exp)
- Specified by:
onValue
in interfaceExpressionVisitorBoolean
-
onAttPool
public boolean onAttPool(AttPoolClause exp)
- Specified by:
onAttPool
in interfaceRELAXExpressionVisitorBoolean
-
onTag
public boolean onTag(TagClause exp)
- Specified by:
onTag
in interfaceRELAXExpressionVisitorBoolean
-
onInterleave
public boolean onInterleave(InterleaveExp exp)
- Specified by:
onInterleave
in interfaceExpressionVisitorBoolean
-
onConcur
public boolean onConcur(ConcurExp exp)
- Specified by:
onConcur
in interfaceExpressionVisitorBoolean
-
onList
public boolean onList(ListExp exp)
- Specified by:
onList
in interfaceExpressionVisitorBoolean
-
onElementRules
public boolean onElementRules(ElementRules exp)
- Specified by:
onElementRules
in interfaceRELAXExpressionVisitorBoolean
-
onHedgeRules
public boolean onHedgeRules(HedgeRules exp)
- Specified by:
onHedgeRules
in interfaceRELAXExpressionVisitorBoolean
-
-