com.sun.msv.verifier.regexp

Class AttributeRemover

public class AttributeRemover extends ExpressionCloner

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

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

Constructor Detail

AttributeRemover

public AttributeRemover(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)