01: package org.kohsuke.rngom.digested;
02:
03: /**
04: * @author Kohsuke Kawaguchi (kk@kohsuke.org)
05: */
06: public interface DPatternVisitor<V> {
07: V onAttribute(DAttributePattern p);
08:
09: V onChoice(DChoicePattern p);
10:
11: V onData(DDataPattern p);
12:
13: V onElement(DElementPattern p);
14:
15: V onEmpty(DEmptyPattern p);
16:
17: V onGrammar(DGrammarPattern p);
18:
19: V onGroup(DGroupPattern p);
20:
21: V onInterleave(DInterleavePattern p);
22:
23: V onList(DListPattern p);
24:
25: V onMixed(DMixedPattern p);
26:
27: V onNotAllowed(DNotAllowedPattern p);
28:
29: V onOneOrMore(DOneOrMorePattern p);
30:
31: V onOptional(DOptionalPattern p);
32:
33: V onRef(DRefPattern p);
34:
35: V onText(DTextPattern p);
36:
37: V onValue(DValuePattern p);
38:
39: V onZeroOrMore(DZeroOrMorePattern p);
40: }
|