1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
|
18 | |
|
19 | |
|
20 | |
|
21 | |
|
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | |
|
32 | |
|
33 | |
|
34 | |
|
35 | |
|
36 | |
|
37 | |
|
38 | |
|
39 | |
|
40 | |
|
41 | |
|
42 | |
|
43 | |
|
44 | |
|
45 | |
|
46 | |
|
47 | |
|
48 | |
|
49 | |
|
50 | |
|
51 | |
|
52 | |
package org.jaxen.saxpath.helpers; |
53 | |
|
54 | |
import org.jaxen.saxpath.SAXPathException; |
55 | |
import org.jaxen.saxpath.XPathHandler; |
56 | |
|
57 | |
|
58 | |
|
59 | |
|
60 | |
|
61 | |
|
62 | |
|
63 | |
|
64 | |
|
65 | |
|
66 | |
|
67 | |
|
68 | |
|
69 | |
|
70 | |
|
71 | |
|
72 | 118 | public class DefaultXPathHandler implements XPathHandler |
73 | |
{ |
74 | |
|
75 | |
public void startXPath() throws SAXPathException |
76 | |
{ |
77 | 0 | } |
78 | |
|
79 | |
public void endXPath() throws SAXPathException |
80 | |
{ |
81 | 0 | } |
82 | |
|
83 | |
public void startPathExpr() throws SAXPathException |
84 | |
{ |
85 | 0 | } |
86 | |
|
87 | |
public void endPathExpr() throws SAXPathException |
88 | |
{ |
89 | 0 | } |
90 | |
|
91 | |
public void startAbsoluteLocationPath() throws SAXPathException |
92 | |
{ |
93 | 0 | } |
94 | |
|
95 | |
public void endAbsoluteLocationPath() throws SAXPathException |
96 | |
{ |
97 | 0 | } |
98 | |
|
99 | |
public void startRelativeLocationPath() throws SAXPathException |
100 | |
{ |
101 | 0 | } |
102 | |
|
103 | |
public void endRelativeLocationPath() throws SAXPathException |
104 | |
{ |
105 | 0 | } |
106 | |
|
107 | |
public void startNameStep(int axis, |
108 | |
String prefix, |
109 | |
String localName) throws SAXPathException |
110 | |
{ |
111 | 0 | } |
112 | |
|
113 | |
public void endNameStep() throws SAXPathException |
114 | |
{ |
115 | 0 | } |
116 | |
|
117 | |
public void startTextNodeStep(int axis) throws SAXPathException |
118 | |
{ |
119 | 0 | } |
120 | |
public void endTextNodeStep() throws SAXPathException |
121 | |
{ |
122 | 0 | } |
123 | |
|
124 | |
public void startCommentNodeStep(int axis) throws SAXPathException |
125 | |
{ |
126 | 0 | } |
127 | |
|
128 | |
public void endCommentNodeStep() throws SAXPathException |
129 | |
{ |
130 | 0 | } |
131 | |
|
132 | |
public void startAllNodeStep(int axis) throws SAXPathException |
133 | |
{ |
134 | 0 | } |
135 | |
|
136 | |
public void endAllNodeStep() throws SAXPathException |
137 | |
{ |
138 | 0 | } |
139 | |
|
140 | |
public void startProcessingInstructionNodeStep(int axis, |
141 | |
String name) throws SAXPathException |
142 | |
{ |
143 | 0 | } |
144 | |
public void endProcessingInstructionNodeStep() throws SAXPathException |
145 | |
{ |
146 | 0 | } |
147 | |
|
148 | |
public void startPredicate() throws SAXPathException |
149 | |
{ |
150 | 0 | } |
151 | |
|
152 | |
public void endPredicate() throws SAXPathException |
153 | |
{ |
154 | 0 | } |
155 | |
|
156 | |
public void startFilterExpr() throws SAXPathException |
157 | |
{ |
158 | 0 | } |
159 | |
|
160 | |
public void endFilterExpr() throws SAXPathException |
161 | |
{ |
162 | 0 | } |
163 | |
|
164 | |
public void startOrExpr() throws SAXPathException |
165 | |
{ |
166 | 0 | } |
167 | |
|
168 | |
public void endOrExpr(boolean create) throws SAXPathException |
169 | |
{ |
170 | 0 | } |
171 | |
|
172 | |
public void startAndExpr() throws SAXPathException |
173 | |
{ |
174 | 0 | } |
175 | |
|
176 | |
public void endAndExpr(boolean create) throws SAXPathException |
177 | |
{ |
178 | 0 | } |
179 | |
|
180 | |
public void startEqualityExpr() throws SAXPathException |
181 | |
{ |
182 | 0 | } |
183 | |
|
184 | |
public void endEqualityExpr(int operator) throws SAXPathException |
185 | |
{ |
186 | 0 | } |
187 | |
|
188 | |
public void startRelationalExpr() throws SAXPathException |
189 | |
{ |
190 | 0 | } |
191 | |
|
192 | |
public void endRelationalExpr(int operator) throws SAXPathException |
193 | |
{ |
194 | 0 | } |
195 | |
|
196 | |
public void startAdditiveExpr() throws SAXPathException |
197 | |
{ |
198 | 0 | } |
199 | |
|
200 | |
public void endAdditiveExpr(int operator) throws SAXPathException |
201 | |
{ |
202 | 0 | } |
203 | |
|
204 | |
public void startMultiplicativeExpr() throws SAXPathException |
205 | |
{ |
206 | 0 | } |
207 | |
|
208 | |
public void endMultiplicativeExpr(int operator) throws SAXPathException |
209 | |
{ |
210 | 0 | } |
211 | |
|
212 | |
public void startUnaryExpr() throws SAXPathException |
213 | |
{ |
214 | 0 | } |
215 | |
|
216 | |
public void endUnaryExpr(int operator) throws SAXPathException |
217 | |
{ |
218 | 0 | } |
219 | |
|
220 | |
public void startUnionExpr() throws SAXPathException |
221 | |
{ |
222 | 0 | } |
223 | |
|
224 | |
public void endUnionExpr(boolean create) throws SAXPathException |
225 | |
{ |
226 | 0 | } |
227 | |
|
228 | |
public void number(int number) throws SAXPathException |
229 | |
{ |
230 | 0 | } |
231 | |
|
232 | |
public void number(double number) throws SAXPathException |
233 | |
{ |
234 | 0 | } |
235 | |
|
236 | |
public void literal(String literal) throws SAXPathException |
237 | |
{ |
238 | 0 | } |
239 | |
|
240 | |
public void variableReference(String prefix, |
241 | |
String variableName) throws SAXPathException |
242 | |
{ |
243 | 0 | } |
244 | |
|
245 | |
public void startFunction(String prefix, |
246 | |
String functionName) throws SAXPathException |
247 | |
{ |
248 | 0 | } |
249 | |
|
250 | |
public void endFunction() throws SAXPathException |
251 | |
{ |
252 | 0 | } |
253 | |
|
254 | |
} |