com.sun.msv.verifier.regexp
Class AttributeFeeder
java.lang.Object
|
+--com.sun.msv.verifier.regexp.AttributeFeeder
- All Implemented Interfaces:
- ExpressionVisitorExpression
- public class AttributeFeeder
- extends Object
- implements ExpressionVisitorExpression
Feeds AttributeToken to the expression and obtains the residual (content model).
AttributeTokens are fed in order-less fashion.
- Author:
- Kohsuke KAWAGUCHI
AttributeFeeder
public AttributeFeeder(REDocumentDeclaration docDecl)
feed
public final Expression feed(Expression exp,
AttributeToken token,
boolean ignoreUndeclaredAttribute)
onAttribute
public Expression onAttribute(AttributeExp exp)
- Specified by:
onAttribute in interface ExpressionVisitorExpression
onChoice
public Expression onChoice(ChoiceExp exp)
- Specified by:
onChoice in interface ExpressionVisitorExpression
onElement
public Expression onElement(ElementExp exp)
- Specified by:
onElement in interface ExpressionVisitorExpression
onOneOrMore
public Expression onOneOrMore(OneOrMoreExp exp)
- Specified by:
onOneOrMore in interface ExpressionVisitorExpression
onMixed
public Expression onMixed(MixedExp exp)
- Specified by:
onMixed in interface ExpressionVisitorExpression
onList
public Expression onList(ListExp exp)
- Specified by:
onList in interface ExpressionVisitorExpression
onKey
public Expression onKey(KeyExp exp)
- Specified by:
onKey in interface ExpressionVisitorExpression
onEpsilon
public Expression onEpsilon()
- Specified by:
onEpsilon in interface ExpressionVisitorExpression
onNullSet
public Expression onNullSet()
- Specified by:
onNullSet in interface ExpressionVisitorExpression
onAnyString
public Expression onAnyString()
- Specified by:
onAnyString in interface ExpressionVisitorExpression
onRef
public Expression onRef(ReferenceExp exp)
- Specified by:
onRef in interface ExpressionVisitorExpression
onOther
public Expression onOther(OtherExp exp)
- Specified by:
onOther in interface ExpressionVisitorExpression
onSequence
public Expression onSequence(SequenceExp exp)
- Specified by:
onSequence in interface ExpressionVisitorExpression
onTypedString
public Expression onTypedString(TypedStringExp exp)
- Specified by:
onTypedString in interface ExpressionVisitorExpression
onConcur
public Expression onConcur(ConcurExp exp)
- Specified by:
onConcur in interface ExpressionVisitorExpression
onInterleave
public Expression onInterleave(InterleaveExp exp)
- Specified by:
onInterleave in interface ExpressionVisitorExpression