1 19 20 package org.netbeans.modules.xml.xpath; 21 22 import org.netbeans.modules.xml.xpath.function.core.visitor.XPathCoreFunctionVisitor; 23 24 30 public interface XPathCoreFunction extends XPathOperationOrFuntion { 31 32 33 public static final int FUNC_LAST = 1; 34 35 36 public static final int FUNC_POSITION = 2; 37 38 39 public static final int FUNC_COUNT = 3; 40 41 42 public static final int FUNC_ID = 4; 43 44 45 public static final int FUNC_LOCAL_NAME = 5; 46 47 48 public static final int FUNC_NAMESPACE_URI = 6; 49 50 51 public static final int FUNC_NAME = 7; 52 53 54 public static final int FUNC_STRING = 8; 55 56 57 public static final int FUNC_CONCAT = 9; 58 59 60 public static final int FUNC_STARTS_WITH = 10; 61 62 63 public static final int FUNC_CONTAINS = 11; 64 65 66 public static final int FUNC_SUBSTRING_BEFORE = 12; 67 68 69 public static final int FUNC_SUBSTRING_AFTER = 13; 70 71 72 public static final int FUNC_SUBSTRING = 14; 73 74 75 public static final int FUNC_STRING_LENGTH = 15; 76 77 78 public static final int FUNC_NORMALIZE_SPACE = 16; 79 80 81 public static final int FUNC_TRANSLATE = 17; 82 83 84 public static final int FUNC_BOOLEAN = 18; 85 86 87 public static final int FUNC_NOT = 19; 88 89 90 public static final int FUNC_TRUE = 20; 91 92 93 public static final int FUNC_FALSE = 21; 94 95 96 public static final int FUNC_LANG = 22; 97 98 99 public static final int FUNC_NUMBER = 23; 100 101 102 public static final int FUNC_SUM = 24; 103 104 105 public static final int FUNC_FLOOR = 25; 106 107 108 public static final int FUNC_CEILING = 26; 109 110 111 public static final int FUNC_ROUND = 27; 112 113 114 public static final int FUNC_NULL = 28; 115 116 117 public static final int FUNC_KEY = 29; 118 119 120 public static final int FUNC_FORMAT_NUMBER = 30; 121 122 123 public static final int FUNC_EXISTS = 31; 124 125 126 130 int getFunction(); 131 132 133 137 void setFunction(int function); 138 139 140 void accept(XPathCoreFunctionVisitor visitor); 141 } 142 | Popular Tags |