Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

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
`Expression` | `onAttribute(AttributeExp exp)`
`Expression` | `onElement(ElementExp exp)`
`Expression` | `onOther(OtherExp exp)`
`Expression` | `onRef(ReferenceExp exp)`

Methods inherited from class com.sun.msv.grammar.ExpressionCloner
`onAnyString, onChoice, onConcur, onData, onEpsilon, onInterleave, onList, onMixed, onNullSet, onOneOrMore, onSequence, onValue`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AttributeRemover

    public AttributeRemover(ExpressionPool pool)

Method Detail

### onAttribute

    public Expression onAttribute(AttributeExp exp)

### onRef

    public Expression onRef(ReferenceExp exp)

### onOther

    public Expression onOther(OtherExp exp)

### onElement

    public Expression onElement(ElementExp exp)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD