1 61 62 63 64 65 package org.jaxen.saxpath; 66 67 68 85 public interface XPathHandler 86 { 87 89 void startXPath() throws org.jaxen.saxpath.SAXPathException; 90 91 93 void endXPath() throws org.jaxen.saxpath.SAXPathException; 94 95 97 void startPathExpr() throws org.jaxen.saxpath.SAXPathException; 98 99 101 void endPathExpr() throws org.jaxen.saxpath.SAXPathException; 102 103 105 void startAbsoluteLocationPath() throws org.jaxen.saxpath.SAXPathException; 106 107 109 void endAbsoluteLocationPath() throws org.jaxen.saxpath.SAXPathException; 110 111 113 void startRelativeLocationPath() throws org.jaxen.saxpath.SAXPathException; 114 115 117 void endRelativeLocationPath() throws org.jaxen.saxpath.SAXPathException; 118 119 126 void startNameStep(int axis, 127 String prefix, 128 String localName) throws org.jaxen.saxpath.SAXPathException; 129 130 132 void endNameStep() throws org.jaxen.saxpath.SAXPathException; 133 134 138 void startTextNodeStep(int axis) throws org.jaxen.saxpath.SAXPathException; 139 140 142 void endTextNodeStep() throws org.jaxen.saxpath.SAXPathException; 143 144 148 void startCommentNodeStep(int axis) throws org.jaxen.saxpath.SAXPathException; 149 150 152 void endCommentNodeStep() throws org.jaxen.saxpath.SAXPathException; 153 154 158 void startAllNodeStep(int axis) throws org.jaxen.saxpath.SAXPathException; 159 160 162 void endAllNodeStep() throws org.jaxen.saxpath.SAXPathException; 163 164 170 void startProcessingInstructionNodeStep(int axis, 171 String name) throws org.jaxen.saxpath.SAXPathException; 172 173 175 void endProcessingInstructionNodeStep() throws org.jaxen.saxpath.SAXPathException; 176 177 179 void startPredicate() throws org.jaxen.saxpath.SAXPathException; 180 181 183 void endPredicate() throws org.jaxen.saxpath.SAXPathException; 184 185 187 void startFilterExpr() throws org.jaxen.saxpath.SAXPathException; 188 189 191 void endFilterExpr() throws org.jaxen.saxpath.SAXPathException; 192 193 195 void startOrExpr() throws org.jaxen.saxpath.SAXPathException; 196 197 203 void endOrExpr(boolean create) throws org.jaxen.saxpath.SAXPathException; 204 205 207 void startAndExpr() throws org.jaxen.saxpath.SAXPathException; 208 209 215 void endAndExpr(boolean create) throws org.jaxen.saxpath.SAXPathException; 216 217 219 void startEqualityExpr() throws org.jaxen.saxpath.SAXPathException; 220 221 228 void endEqualityExpr(int equalityOperator) throws org.jaxen.saxpath.SAXPathException; 229 230 232 void startRelationalExpr() throws org.jaxen.saxpath.SAXPathException; 233 234 241 void endRelationalExpr(int relationalOperator) throws org.jaxen.saxpath.SAXPathException; 242 243 245 void startAdditiveExpr() throws org.jaxen.saxpath.SAXPathException; 246 247 254 void endAdditiveExpr(int additiveOperator) throws org.jaxen.saxpath.SAXPathException; 255 256 258 void startMultiplicativeExpr() throws org.jaxen.saxpath.SAXPathException; 259 260 267 void endMultiplicativeExpr(int multiplicativeOperator) throws org.jaxen.saxpath.SAXPathException; 268 269 271 void startUnaryExpr() throws org.jaxen.saxpath.SAXPathException; 272 273 281 void endUnaryExpr(int unaryOperator) throws org.jaxen.saxpath.SAXPathException; 282 283 285 void startUnionExpr() throws org.jaxen.saxpath.SAXPathException; 286 287 293 void endUnionExpr(boolean create) throws org.jaxen.saxpath.SAXPathException; 294 295 299 void number(int number) throws org.jaxen.saxpath.SAXPathException; 300 301 305 void number(double number) throws org.jaxen.saxpath.SAXPathException; 306 307 311 void literal(String literal) throws org.jaxen.saxpath.SAXPathException; 312 313 318 void variableReference(String prefix, 319 String variableName) throws org.jaxen.saxpath.SAXPathException; 320 321 326 void startFunction(String prefix, 327 String functionName) throws org.jaxen.saxpath.SAXPathException; 328 329 331 void endFunction() throws org.jaxen.saxpath.SAXPathException; 332 } 333 | Popular Tags |