01: package com.sun.xml.xsom.visitor;
02:
03: import com.sun.xml.xsom.XSWildcard;
04: import com.sun.xml.xsom.XSModelGroupDecl;
05: import com.sun.xml.xsom.XSModelGroup;
06: import com.sun.xml.xsom.XSElementDecl;
07: import com.sun.xml.xsom.XSTerm;
08:
09: /**
10: * Function object that works on {@link XSTerm}.
11: *
12: * @author
13: * Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
14: */
15: public interface XSTermFunctionWithParam<T, P> {
16: T wildcard(XSWildcard wc, P param);
17:
18: T modelGroupDecl(XSModelGroupDecl decl, P param);
19:
20: T modelGroup(XSModelGroup group, P param);
21:
22: T elementDecl(XSElementDecl decl, P param);
23: }
|