com.sun.msv.verifier.regexp

Class AttributePruner

public class AttributePruner extends ExpressionCloner

Creates an expression whose AttributeExp is completely replaced by nullSet. This step is used to remove all unconsumed AttributeExp from the expression.

Author: Kohsuke KAWAGUCHI

Constructor Summary
AttributePruner(ExpressionPool pool)
Method Summary
ExpressiononAttribute(AttributeExp exp)
ExpressiononElement(ElementExp exp)
ExpressiononOther(OtherExp exp)
ExpressiononRef(ReferenceExp exp)
Expressionprune(Expression exp)

Constructor Detail

AttributePruner

public AttributePruner(ExpressionPool pool)

Method Detail

onAttribute

public Expression onAttribute(AttributeExp exp)

onElement

public Expression onElement(ElementExp exp)

onOther

public Expression onOther(OtherExp exp)

onRef

public Expression onRef(ReferenceExp exp)

prune

public final Expression prune(Expression exp)