1 16 19 20 package org.apache.xalan.xsltc.compiler; 21 22 import org.apache.bcel.generic.InstructionConstants; 23 24 28 public interface Constants extends InstructionConstants { 29 30 32 public final int INTERNAL = 0; 35 public final int UNSUPPORTED = 1; 38 public final int FATAL = 2; 41 public final int ERROR = 3; 44 public final int WARNING = 4; 47 48 public static final String EMPTYSTRING = ""; 49 50 public static final String NAMESPACE_FEATURE = 51 "http://xml.org/sax/features/namespaces"; 52 53 public static final String TRANSLET_INTF 54 = "org.apache.xalan.xsltc.Translet"; 55 public static final String TRANSLET_INTF_SIG 56 = "Lorg/apache/xalan/xsltc/Translet;"; 57 58 public static final String ATTRIBUTES_SIG 59 = "Lorg/apache/xalan/xsltc/runtime/Attributes;"; 60 public static final String NODE_ITERATOR_SIG 61 = "Lorg/apache/xml/dtm/DTMAxisIterator;"; 62 public static final String DOM_INTF_SIG 63 = "Lorg/apache/xalan/xsltc/DOM;"; 64 public static final String DOM_IMPL_CLASS 65 = "org/apache/xalan/xsltc/DOM"; public static final String SAX_IMPL_CLASS 67 = "org/apache/xalan/xsltc/DOM/SAXImpl"; 68 public static final String DOM_IMPL_SIG 69 = "Lorg/apache/xalan/xsltc/dom/SAXImpl;"; public static final String SAX_IMPL_SIG 71 = "Lorg/apache/xalan/xsltc/dom/SAXImpl;"; 72 public static final String DOM_ADAPTER_CLASS 73 = "org/apache/xalan/xsltc/dom/DOMAdapter"; 74 public static final String DOM_ADAPTER_SIG 75 = "Lorg/apache/xalan/xsltc/dom/DOMAdapter;"; 76 public static final String MULTI_DOM_CLASS 77 = "org.apache.xalan.xsltc.dom.MultiDOM"; 78 public static final String MULTI_DOM_SIG 79 = "Lorg/apache/xalan/xsltc/dom/MultiDOM;"; 80 81 public static final String STRING 82 = "java.lang.String"; 83 84 public static final int ACC_PUBLIC 85 = org.apache.bcel.Constants.ACC_PUBLIC; 86 public static final int ACC_SUPER 87 = org.apache.bcel.Constants.ACC_SUPER; 88 public static final int ACC_FINAL 89 = org.apache.bcel.Constants.ACC_FINAL; 90 public static final int ACC_PRIVATE 91 = org.apache.bcel.Constants.ACC_PRIVATE; 92 public static final int ACC_PROTECTED 93 = org.apache.bcel.Constants.ACC_PROTECTED; 94 public static final int ACC_STATIC 95 = org.apache.bcel.Constants.ACC_STATIC; 96 97 public static final String STRING_SIG 98 = "Ljava/lang/String;"; 99 public static final String STRING_BUFFER_SIG 100 = "Ljava/lang/StringBuffer;"; 101 public static final String OBJECT_SIG 102 = "Ljava/lang/Object;"; 103 public static final String DOUBLE_SIG 104 = "Ljava/lang/Double;"; 105 public static final String INTEGER_SIG 106 = "Ljava/lang/Integer;"; 107 public static final String COLLATOR_CLASS 108 = "java/text/Collator"; 109 public static final String COLLATOR_SIG 110 = "Ljava/text/Collator;"; 111 112 public static final String NODE 113 = "int"; 114 public static final String NODE_ITERATOR 115 = "org.apache.xml.dtm.DTMAxisIterator"; 116 public static final String NODE_ITERATOR_BASE 117 = "org.apache.xml.dtm.ref.DTMAxisIteratorBase"; 118 public static final String SORT_ITERATOR 119 = "org.apache.xalan.xsltc.dom.SortingIterator"; 120 public static final String SORT_ITERATOR_SIG 121 = "Lorg.apache.xalan.xsltc.dom.SortingIterator;"; 122 public static final String NODE_SORT_RECORD 123 = "org.apache.xalan.xsltc.dom.NodeSortRecord"; 124 public static final String NODE_SORT_FACTORY 125 = "org/apache/xalan/xsltc/dom/NodeSortRecordFactory"; 126 public static final String NODE_SORT_RECORD_SIG 127 = "Lorg/apache/xalan/xsltc/dom/NodeSortRecord;"; 128 public static final String NODE_SORT_FACTORY_SIG 129 = "Lorg/apache/xalan/xsltc/dom/NodeSortRecordFactory;"; 130 public static final String LOCALE_CLASS 131 = "java.util.Locale"; 132 public static final String LOCALE_SIG 133 = "Ljava/util/Locale;"; 134 public static final String STRING_VALUE_HANDLER 135 = "org.apache.xalan.xsltc.runtime.StringValueHandler"; 136 public static final String STRING_VALUE_HANDLER_SIG 137 = "Lorg/apache/xalan/xsltc/runtime/StringValueHandler;"; 138 public static final String OUTPUT_HANDLER 139 = "org/apache/xml/serializer/SerializationHandler"; 140 public static final String OUTPUT_HANDLER_SIG 141 = "Lorg/apache/xml/serializer/SerializationHandler;"; 142 public static final String FILTER_INTERFACE 143 = "org.apache.xalan.xsltc.dom.Filter"; 144 public static final String FILTER_INTERFACE_SIG 145 = "Lorg/apache/xalan/xsltc/dom/Filter;"; 146 public static final String UNION_ITERATOR_CLASS 147 = "org.apache.xalan.xsltc.dom.UnionIterator"; 148 public static final String STEP_ITERATOR_CLASS 149 = "org.apache.xalan.xsltc.dom.StepIterator"; 150 public static final String CACHED_NODE_LIST_ITERATOR_CLASS 151 = "org.apache.xalan.xsltc.dom.CachedNodeListIterator"; 152 public static final String NTH_ITERATOR_CLASS 153 = "org.apache.xalan.xsltc.dom.NthIterator"; 154 public static final String ABSOLUTE_ITERATOR 155 = "org.apache.xalan.xsltc.dom.AbsoluteIterator"; 156 public static final String DUP_FILTERED_ITERATOR 157 = "org.apache.xalan.xsltc.dom.DupFilterIterator"; 158 public static final String CURRENT_NODE_LIST_ITERATOR 159 = "org.apache.xalan.xsltc.dom.CurrentNodeListIterator"; 160 public static final String CURRENT_NODE_LIST_FILTER 161 = "org.apache.xalan.xsltc.dom.CurrentNodeListFilter"; 162 public static final String CURRENT_NODE_LIST_ITERATOR_SIG 163 = "Lorg/apache/xalan/xsltc/dom/CurrentNodeListIterator;"; 164 public static final String CURRENT_NODE_LIST_FILTER_SIG 165 = "Lorg/apache/xalan/xsltc/dom/CurrentNodeListFilter;"; 166 public static final String FILTER_STEP_ITERATOR 167 = "org.apache.xalan.xsltc.dom.FilteredStepIterator"; 168 public static final String FILTER_ITERATOR 169 = "org.apache.xalan.xsltc.dom.FilterIterator"; 170 public static final String SINGLETON_ITERATOR 171 = "org.apache.xalan.xsltc.dom.SingletonIterator"; 172 public static final String MATCHING_ITERATOR 173 = "org.apache.xalan.xsltc.dom.MatchingIterator"; 174 public static final String NODE_SIG 175 = "I"; 176 public static final String GET_PARENT 177 = "getParent"; 178 public static final String GET_PARENT_SIG 179 = "(" + NODE_SIG + ")" + NODE_SIG; 180 public static final String NEXT_SIG 181 = "()" + NODE_SIG; 182 public static final String NEXT 183 = "next"; 184 public static final String NEXTID 185 = "nextNodeID"; 186 public static final String MAKE_NODE 187 = "makeNode"; 188 public static final String MAKE_NODE_LIST 189 = "makeNodeList"; 190 public static final String GET_UNPARSED_ENTITY_URI 191 = "getUnparsedEntityURI"; 192 public static final String STRING_TO_REAL 193 = "stringToReal"; 194 public static final String STRING_TO_REAL_SIG 195 = "(" + STRING_SIG + ")D"; 196 public static final String STRING_TO_INT 197 = "stringToInt"; 198 public static final String STRING_TO_INT_SIG 199 = "(" + STRING_SIG + ")I"; 200 201 public static final String XSLT_PACKAGE 202 = "org.apache.xalan.xsltc"; 203 public static final String COMPILER_PACKAGE 204 = XSLT_PACKAGE + ".compiler"; 205 public static final String RUNTIME_PACKAGE 206 = XSLT_PACKAGE + ".runtime"; 207 public static final String TRANSLET_CLASS 208 = RUNTIME_PACKAGE + ".AbstractTranslet"; 209 210 public static final String TRANSLET_SIG 211 = "Lorg/apache/xalan/xsltc/runtime/AbstractTranslet;"; 212 public static final String UNION_ITERATOR_SIG 213 = "Lorg/apache/xalan/xsltc/dom/UnionIterator;"; 214 public static final String TRANSLET_OUTPUT_SIG 215 = "Lorg/apache/xml/serializer/SerializationHandler;"; 216 public static final String MAKE_NODE_SIG 217 = "(I)Lorg/w3c/dom/Node;"; 218 public static final String MAKE_NODE_SIG2 219 = "(" + NODE_ITERATOR_SIG + ")Lorg/w3c/dom/Node;"; 220 public static final String MAKE_NODE_LIST_SIG 221 = "(I)Lorg/w3c/dom/NodeList;"; 222 public static final String MAKE_NODE_LIST_SIG2 223 = "(" + NODE_ITERATOR_SIG + ")Lorg/w3c/dom/NodeList;"; 224 225 public static final String STREAM_XML_OUTPUT 226 = "org.apache.xml.serializer.ToXMLStream"; 227 228 public static final String OUTPUT_BASE 229 = "org.apache.xml.serializer.SerializerBase"; 230 231 public static final String LOAD_DOCUMENT_CLASS 232 = "org.apache.xalan.xsltc.dom.LoadDocument"; 233 234 public static final String KEY_INDEX_CLASS 235 = "org/apache/xalan/xsltc/dom/KeyIndex"; 236 public static final String KEY_INDEX_SIG 237 = "Lorg/apache/xalan/xsltc/dom/KeyIndex;"; 238 239 public static final String DOM_INTF 240 = "org.apache.xalan.xsltc.DOM"; 241 public static final String DOM_IMPL 242 = "org.apache.xalan.xsltc.dom.SAXImpl"; 243 public static final String SAX_IMPL 244 = "org.apache.xalan.xsltc.dom.SAXImpl"; 245 public static final String STRING_CLASS 246 = "java.lang.String"; 247 public static final String OBJECT_CLASS 248 = "java.lang.Object"; 249 public static final String BOOLEAN_CLASS 250 = "java.lang.Boolean"; 251 public static final String STRING_BUFFER_CLASS 252 = "java.lang.StringBuffer"; 253 public static final String STRING_WRITER 254 = "java.io.StringWriter"; 255 public static final String WRITER_SIG 256 = "Ljava/io/Writer;"; 257 258 public static final String TRANSLET_OUTPUT_BASE 259 = "org.apache.xalan.xsltc.TransletOutputBase"; 260 public static final String CALL_FUNCTION_CLASS 262 = "org.apache.xalan.xsltc.runtime.CallFunction"; 263 public static final String TRANSLET_OUTPUT_INTERFACE 264 = "org.apache.xml.serializer.SerializationHandler"; 265 public static final String BASIS_LIBRARY_CLASS 266 = "org.apache.xalan.xsltc.runtime.BasisLibrary"; 267 public static final String ATTRIBUTE_LIST_IMPL_CLASS 268 = "org.apache.xalan.xsltc.runtime.AttributeListImpl"; 269 public static final String DOUBLE_CLASS 270 = "java.lang.Double"; 271 public static final String INTEGER_CLASS 272 = "java.lang.Integer"; 273 public static final String RUNTIME_NODE_CLASS 274 = "org.apache.xalan.xsltc.runtime.Node"; 275 public static final String MATH_CLASS 276 = "java.lang.Math"; 277 278 public static final String BOOLEAN_VALUE 279 = "booleanValue"; 280 public static final String BOOLEAN_VALUE_SIG 281 = "()Z"; 282 public static final String INT_VALUE 283 = "intValue"; 284 public static final String INT_VALUE_SIG 285 = "()I"; 286 public static final String DOUBLE_VALUE 287 = "doubleValue"; 288 public static final String DOUBLE_VALUE_SIG 289 = "()D"; 290 291 public static final String DOM_PNAME 292 = "dom"; 293 public static final String NODE_PNAME 294 = "node"; 295 public static final String TRANSLET_OUTPUT_PNAME 296 = "handler"; 297 public static final String ITERATOR_PNAME 298 = "iterator"; 299 public static final String DOCUMENT_PNAME 300 = "document"; 301 public static final String TRANSLET_PNAME 302 = "translet"; 303 304 public static final String INVOKE_METHOD 305 = "invokeMethod"; 306 public static final String GET_NODE_NAME 307 = "getNodeNameX"; 308 public static final String CHARACTERSW 309 = "characters"; 310 public static final String GET_CHILDREN 311 = "getChildren"; 312 public static final String GET_TYPED_CHILDREN 313 = "getTypedChildren"; 314 public static final String CHARACTERS 315 = "characters"; 316 public static final String APPLY_TEMPLATES 317 = "applyTemplates"; 318 public static final String GET_NODE_TYPE 319 = "getNodeType"; 320 public static final String GET_NODE_VALUE 321 = "getStringValueX"; 322 public static final String GET_ELEMENT_VALUE 323 = "getElementValue"; 324 public static final String GET_ATTRIBUTE_VALUE 325 = "getAttributeValue"; 326 public static final String HAS_ATTRIBUTE 327 = "hasAttribute"; 328 public static final String ADD_ITERATOR 329 = "addIterator"; 330 public static final String SET_START_NODE 331 = "setStartNode"; 332 public static final String RESET 333 = "reset"; 334 335 public static final String ATTR_SET_SIG 336 = "(" + DOM_INTF_SIG + NODE_ITERATOR_SIG + TRANSLET_OUTPUT_SIG + ")V"; 337 338 public static final String GET_NODE_NAME_SIG 339 = "(" + NODE_SIG + ")" + STRING_SIG; 340 public static final String CHARACTERSW_SIG 341 = "(" + STRING_SIG + TRANSLET_OUTPUT_SIG + ")V"; 342 public static final String CHARACTERS_SIG 343 = "(" + NODE_SIG + TRANSLET_OUTPUT_SIG + ")V"; 344 public static final String GET_CHILDREN_SIG 345 = "(" + NODE_SIG +")" + NODE_ITERATOR_SIG; 346 public static final String GET_TYPED_CHILDREN_SIG 347 = "(I)" + NODE_ITERATOR_SIG; 348 public static final String GET_NODE_TYPE_SIG 349 = "()S"; 350 public static final String GET_NODE_VALUE_SIG 351 = "(I)" + STRING_SIG; 352 public static final String GET_ELEMENT_VALUE_SIG 353 = "(I)" + STRING_SIG; 354 public static final String GET_ATTRIBUTE_VALUE_SIG 355 = "(II)" + STRING_SIG; 356 public static final String HAS_ATTRIBUTE_SIG 357 = "(II)Z"; 358 public static final String GET_ITERATOR_SIG 359 = "()" + NODE_ITERATOR_SIG; 360 361 public static final String NAMES_INDEX 362 = "namesArray"; 363 public static final String NAMES_INDEX_SIG 364 = "[" + STRING_SIG; 365 public static final String URIS_INDEX 366 = "urisArray"; 367 public static final String URIS_INDEX_SIG 368 = "[" + STRING_SIG; 369 public static final String TYPES_INDEX 370 = "typesArray"; 371 public static final String TYPES_INDEX_SIG 372 = "[I"; 373 public static final String NAMESPACE_INDEX 374 = "namespaceArray"; 375 public static final String NAMESPACE_INDEX_SIG 376 = "[" + STRING_SIG; 377 public static final String HASIDCALL_INDEX 378 = "_hasIdCall"; 379 public static final String HASIDCALL_INDEX_SIG 380 = "Z"; 381 public static final String TRANSLET_VERSION_INDEX 382 = "transletVersion"; 383 public static final String TRANSLET_VERSION_INDEX_SIG 384 = "I"; 385 386 public static final String DOM_FIELD 387 = "_dom"; 388 public static final String STATIC_NAMES_ARRAY_FIELD 389 = "_sNamesArray"; 390 public static final String STATIC_URIS_ARRAY_FIELD 391 = "_sUrisArray"; 392 public static final String STATIC_TYPES_ARRAY_FIELD 393 = "_sTypesArray"; 394 public static final String STATIC_NAMESPACE_ARRAY_FIELD 395 = "_sNamespaceArray"; 396 public static final String STATIC_CHAR_DATA_FIELD 397 = "_scharData"; 398 public static final String STATIC_CHAR_DATA_FIELD_SIG 399 = "[C"; 400 public static final String FORMAT_SYMBOLS_FIELD 401 = "format_symbols"; 402 403 public static final String ITERATOR_FIELD_SIG 404 = NODE_ITERATOR_SIG; 405 public static final String NODE_FIELD 406 = "node"; 407 public static final String NODE_FIELD_SIG 408 = "I"; 409 410 public static final String EMPTYATTR_FIELD 411 = "EmptyAttributes"; 412 public static final String ATTRIBUTE_LIST_FIELD 413 = "attributeList"; 414 public static final String CLEAR_ATTRIBUTES 415 = "clear"; 416 public static final String ADD_ATTRIBUTE 417 = "addAttribute"; 418 public static final String ATTRIBUTE_LIST_IMPL_SIG 419 = "Lorg/apache/xalan/xsltc/runtime/AttributeListImpl;"; 420 public static final String CLEAR_ATTRIBUTES_SIG 421 = "()" + ATTRIBUTE_LIST_IMPL_SIG; 422 public static final String ADD_ATTRIBUTE_SIG 423 = "(" + STRING_SIG + STRING_SIG + ")" + ATTRIBUTE_LIST_IMPL_SIG; 424 425 public static final String ADD_ITERATOR_SIG 426 = "(" + NODE_ITERATOR_SIG +")" + UNION_ITERATOR_SIG; 427 428 public static final String ORDER_ITERATOR 429 = "orderNodes"; 430 public static final String ORDER_ITERATOR_SIG 431 = "("+NODE_ITERATOR_SIG+"I)"+NODE_ITERATOR_SIG; 432 433 public static final String SET_START_NODE_SIG 434 = "(" + NODE_SIG + ")" + NODE_ITERATOR_SIG; 435 436 public static final String NODE_COUNTER 437 = "org.apache.xalan.xsltc.dom.NodeCounter"; 438 public static final String NODE_COUNTER_SIG 439 = "Lorg/apache/xalan/xsltc/dom/NodeCounter;"; 440 public static final String DEFAULT_NODE_COUNTER 441 = "org.apache.xalan.xsltc.dom.DefaultNodeCounter"; 442 public static final String DEFAULT_NODE_COUNTER_SIG 443 = "Lorg/apache/xalan/xsltc/dom/DefaultNodeCounter;"; 444 public static final String TRANSLET_FIELD 445 = "translet"; 446 public static final String TRANSLET_FIELD_SIG 447 = TRANSLET_SIG; 448 449 public static final String RESET_SIG 450 = "()" + NODE_ITERATOR_SIG; 451 public static final String GET_PARAMETER 452 = "getParameter"; 453 public static final String ADD_PARAMETER 454 = "addParameter"; 455 public static final String PUSH_PARAM_FRAME 456 = "pushParamFrame"; 457 public static final String PUSH_PARAM_FRAME_SIG 458 = "()V"; 459 public static final String POP_PARAM_FRAME 460 = "popParamFrame"; 461 public static final String POP_PARAM_FRAME_SIG 462 = "()V"; 463 public static final String GET_PARAMETER_SIG 464 = "(" + STRING_SIG + ")" + OBJECT_SIG; 465 public static final String ADD_PARAMETER_SIG 466 = "(" + STRING_SIG + OBJECT_SIG + "Z)" + OBJECT_SIG; 467 468 public static final String STRIP_SPACE 469 = "stripSpace"; 470 public static final String STRIP_SPACE_INTF 471 = "org/apache/xalan/xsltc/StripFilter"; 472 public static final String STRIP_SPACE_SIG 473 = "Lorg/apache/xalan/xsltc/StripFilter;"; 474 public static final String STRIP_SPACE_PARAMS 475 = "(Lorg/apache/xalan/xsltc/DOM;II)Z"; 476 477 public static final String GET_NODE_VALUE_ITERATOR 478 = "getNodeValueIterator"; 479 public static final String GET_NODE_VALUE_ITERATOR_SIG 480 = "("+NODE_ITERATOR_SIG+"I"+STRING_SIG+"Z)"+NODE_ITERATOR_SIG; 481 482 public static final String GET_UNPARSED_ENTITY_URI_SIG 483 = "("+STRING_SIG+")"+STRING_SIG; 484 485 public static final int POSITION_INDEX = 2; 486 public static final int LAST_INDEX = 3; 487 488 public static final String XMLNS_PREFIX = "xmlns"; 489 public static final String XMLNS_STRING = "xmlns:"; 490 public static final String XMLNS_URI 491 = "http://www.w3.org/2000/xmlns/"; 492 public static final String XSLT_URI 493 = "http://www.w3.org/1999/XSL/Transform"; 494 public static final String XHTML_URI 495 = "http://www.w3.org/1999/xhtml"; 496 public static final String TRANSLET_URI 497 = "http://xml.apache.org/xalan/xsltc"; 498 public static final String REDIRECT_URI 499 = "http://xml.apache.org/xalan/redirect"; 500 public static final String FALLBACK_CLASS 501 = "org.apache.xalan.xsltc.compiler.Fallback"; 502 503 public static final int RTF_INITIAL_SIZE = 32; 504 } 505 | Popular Tags |