001: /*
002: * The contents of this file are subject to the terms of the Common Development
003: * and Distribution License (the License). You may not use this file except in
004: * compliance with the License.
005: *
006: * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
007: * or http://www.netbeans.org/cddl.txt.
008: *
009: * When distributing Covered Code, include this CDDL Header Notice in each file
010: * and include the License file at http://www.netbeans.org/cddl.txt.
011: * If applicable, add the following below the CDDL Header, with the fields
012: * enclosed by brackets [] replaced by your own identifying information:
013: * "Portions Copyrighted [year] [name of copyright owner]"
014: *
015: * The Original Software is NetBeans. The Initial Developer of the Original
016: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
017: * Microsystems, Inc. All Rights Reserved.
018: */
019:
020: package org.netbeans.modules.xslt.model;
021:
022: /**
023: * @author ads
024: *
025: */
026: public interface XslVisitor {
027:
028: /**
029: * Visit "apply-templates" element.
030: * @param applyTemplates visited element
031: */
032: void visit(ApplyTemplates applyTemplates);
033:
034: /**
035: * Visit "attribute" element.
036: * @param attribute visited element
037: */
038: void visit(Attribute attribute);
039:
040: /**
041: * Visit "attribute-set" element.
042: * @param attributeSet visited element
043: */
044: void visit(AttributeSet attributeSet);
045:
046: /**
047: * Visit "call-template" element.
048: * @param callTemplate visited element
049: */
050: void visit(CallTemplate callTemplate);
051:
052: /**
053: * Visit "choose" element.
054: * @param choose visited element
055: */
056: void visit(Choose choose);
057:
058: /**
059: * Visit "copy" element.
060: * @param copy visited element
061: */
062: void visit(Copy copy);
063:
064: /**
065: * Visit "copy-of" element.
066: * @param copyOf visited element
067: */
068: void visit(CopyOf copyOf);
069:
070: /**
071: * Visit "document" element.
072: * @param document visited element
073: */
074: void visit(Document document);
075:
076: /**
077: * Visit "element" element.
078: * @param element visited element
079: */
080: void visit(Element element);
081:
082: /**
083: * Visit "for-each" element.
084: * @param forEach visited element
085: */
086: void visit(ForEach forEach);
087:
088: /**
089: * Visit "if" element.
090: * @param iff visited element
091: */
092: void visit(If iff);
093:
094: /**
095: * Visit "import" element.
096: * @param impt visited element
097: */
098: void visit(Import impt);
099:
100: /**
101: * Visit "include" element.
102: * @param include visited element
103: */
104: void visit(Include include);
105:
106: /**
107: * Visit "key" element.
108: * @param key visited element
109: */
110: void visit(Key key);
111:
112: /**
113: * Visit not xslt result element.
114: * @param element visited element
115: */
116: void visit(LiteralResultElement element);
117:
118: /**
119: * Visit "namespace" element.
120: * @param namespace visited element
121: */
122: void visit(Namespace namespace);
123:
124: /**
125: * Visit "number" element.
126: * @param number visited element
127: */
128: void visit(Number number);
129:
130: /**
131: * Visit "otherwise" element.
132: * @param otherwise visited element
133: */
134: void visit(Otherwise otherwise);
135:
136: /**
137: * Visit "output" element.
138: * @param output visited element
139: */
140: void visit(Output output);
141:
142: /**
143: * Visit "param" element.
144: * @param param visited element
145: */
146: void visit(Param param);
147:
148: /**
149: * Visit "sequence" element.
150: * @param sequence visited element
151: */
152: void visit(Sequence sequence);
153:
154: /**
155: * Visit "sort" element.
156: * @param sort visited element
157: */
158: void visit(Sort sort);
159:
160: /**
161: * Visit "stylesheet" element.
162: * @param stylesheet visited element
163: */
164: void visit(Stylesheet stylesheet);
165:
166: /**
167: * Visit "template" element.
168: * @param template visited element
169: */
170: void visit(Template template);
171:
172: /**
173: * Visit "text" element.
174: * @param text visited element
175: */
176: void visit(Text text);
177:
178: /**
179: * Visitor "value-of" element.
180: * @param valueOf visited element
181: */
182: void visit(ValueOf valueOf);
183:
184: /**
185: * Visit "variable" element.
186: * @param variable visited element
187: */
188: void visit(Variable variable);
189:
190: /**
191: * Visit "when" element.
192: * @param when visited element
193: */
194: void visit(When when);
195:
196: /**
197: * Visit "apply-imports" element.
198: * @param impt visited element
199: */
200: void visit(ApplyImports impt);
201:
202: }
|