Package com.sun.msv.verifier.regexp
Class AttributeRemover
java.lang.Object
com.sun.msv.grammar.ExpressionCloner
com.sun.msv.verifier.regexp.AttributeRemover
- All Implemented Interfaces:
ExpressionVisitorExpression
Creates an expression whose AttributeExp is completely replaced by epsilon.
This step is used to erase all unconsumed AttributeExp from the expression.
This class is used for error recovery. Usually, unconsumed attributes
indicates a violation of the validity.
- Author:
- Kohsuke KAWAGUCHI
-
Field Summary
Fields inherited from class com.sun.msv.grammar.ExpressionCloner
pool
-
Constructor Summary
-
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, onData, onEpsilon, onInterleave, onList, onMixed, onNullSet, onOneOrMore, onSequence, onValue
-
Constructor Details
-
AttributeRemover
-
-
Method Details
-
onAttribute
-
onRef
-
onOther
-
onElement
-