Package 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
hedgeRule of RELAX module.
ReferenceExp.exp holds a choice of the content models of all hedgeRules that
share the same label name.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
a flag that indicates this hedgeRule is exported and therefore accessible from other modules.final RELAXModule
RELAXModule object to which this object belongsprivate static final long
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addHedge
(Expression exp, ExpressionPool pool) boolean
boolean
visit
(RELAXExpressionVisitor visitor) boolean
visit
(RELAXExpressionVisitorBoolean visitor) visit
(RELAXExpressionVisitorExpression visitor) void
visit
(RELAXExpressionVisitorVoid visitor) Methods inherited from class com.sun.msv.grammar.ReferenceExp
calcEpsilonReducibility, calcHashCode, isDefined, visit, visit, visit, visit
Methods inherited from class com.sun.msv.grammar.Expression
getExpandedExp, hashCode, hashCode, hashCode, isEpsilonReducible, peelOccurence, readResolve
-
Field Details
-
exported
public boolean exporteda flag that indicates this hedgeRule is exported and therefore accessible from other modules. -
ownerModule
RELAXModule object to which this object belongs -
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
HedgeRules
-
-
Method Details
-
addHedge
-
equals
- Overrides:
equals
in classReferenceExp
-
visit
- Overrides:
visit
in classExpression
-
visit
- Overrides:
visit
in classExpression
-
visit
- Overrides:
visit
in classExpression
-
visit
- Overrides:
visit
in classExpression
-
isExported
public boolean isExported()- Specified by:
isExported
in interfaceExportable
-