1 19 20 package org.netbeans.modules.xml.xpath; 21 22 23 29 public interface LocationStep extends XPathExpression { 30 31 32 public static final int AXIS_SELF = 1; 33 34 35 public static final int AXIS_CHILD = 2; 36 37 38 public static final int AXIS_PARENT = 3; 39 40 41 public static final int AXIS_ANCESTOR = 4; 42 43 44 public static final int AXIS_ATTRIBUTE = 5; 45 46 47 public static final int AXIS_NAMESPACE = 6; 48 49 50 public static final int AXIS_PRECEDING = 7; 51 52 53 public static final int AXIS_FOLLOWING = 8; 54 55 56 public static final int AXIS_DESCENDANT = 9; 57 58 59 public static final int AXIS_ANCESTOR_OR_SELF = 10; 60 61 62 public static final int AXIS_DESCENDANT_OR_SELF = 11; 63 64 65 public static final int AXIS_FOLLOWING_SIBLING = 12; 66 67 68 public static final int AXIS_PRECEDING_SIBLING = 13; 69 70 71 public static final int NODETYPE_NODE = 1; 72 73 74 public static final int NODETYPE_TEXT = 2; 75 76 77 public static final int NODETYPE_COMMENT = 3; 78 79 80 public static final int NODETYPE_PI = 4; 81 82 83 87 int getAxis(); 88 89 90 94 void setAxis(int axis); 95 96 97 101 StepNodeTest getNodeTest(); 102 103 104 108 void setNodeTest(StepNodeTest nodeTest); 109 110 111 115 String getString(); 116 117 XPathPredicateExpression[] getPredicates(); 118 119 void setPredicates(XPathPredicateExpression[] predicates); 120 } 121 | Popular Tags |