Package com.sun.msv.generator
Class NoneTypeRemover
java.lang.Object
com.sun.msv.grammar.ExpressionCloner
com.sun.msv.generator.NoneTypeRemover
- All Implemented Interfaces:
ExpressionVisitorExpression
removes "none" type of RELAX from AGM.
"none" type is harmful for instance generation. This visitor changes
"none" type to nullSet.
-
Field Summary
FieldsFields inherited from class com.sun.msv.grammar.ExpressionCloner
pool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiononAttribute
(AttributeExp exp) onElement
(ElementExp exp) onRef
(ReferenceExp exp) Methods inherited from class com.sun.msv.grammar.ExpressionCloner
onAnyString, onChoice, onConcur, onEpsilon, onInterleave, onList, onMixed, onNullSet, onOneOrMore, onSequence, onValue
-
Field Details
-
visitedElements
set of visited ElementExps
-
-
Constructor Details
-
NoneTypeRemover
-
-
Method Details
-
onElement
-
onAttribute
-
onData
- Specified by:
onData
in interfaceExpressionVisitorExpression
- Overrides:
onData
in classExpressionCloner
-
onRef
-
onOther
-