com.sun.msv.verifier.regexp
Class AttributePicker
public
class
AttributePicker
extends Object
implements ExpressionVisitorExpression
removes all unnecessary expressions and
creates an expression that consists of required attributes and choices only.
For example,
will be converted to
because no attribute is required. But
will remain the same because one or the other is required.
this method also removes SequenceExp.
will be converted to
This function object is used only for error recovery.
Resulting expressions always consist only of s and s.
Author: Kohsuke KAWAGUCHI