xpatherrorresources.java
来自「JAVA的一些源码 JAVA2 STANDARD EDITION DEVELO」· Java 代码 · 共 1,432 行 · 第 1/4 页
JAVA
1,432 行
"WG_FUNCTION_TOKEN_NOT_FOUND"; public static final String WG_COULDNOT_FIND_FUNCTION = "WG_COULDNOT_FIND_FUNCTION"; public static final String WG_CANNOT_MAKE_URL_FROM ="WG_CANNOT_MAKE_URL_FROM"; public static final String WG_EXPAND_ENTITIES_NOT_SUPPORTED = "WG_EXPAND_ENTITIES_NOT_SUPPORTED"; public static final String WG_ILLEGAL_VARIABLE_REFERENCE = "WG_ILLEGAL_VARIABLE_REFERENCE"; public static final String WG_UNSUPPORTED_ENCODING ="WG_UNSUPPORTED_ENCODING"; // Error messages... public static final Object[][] contents = { /** Field ERROR0000 */// public static final int ERROR0000 = 0; { "ERROR0000" , "{0}" }, /** Field ER_CURRENT_NOT_ALLOWED_IN_MATCH */// public static final int ER_CURRENT_NOT_ALLOWED_IN_MATCH = 1; { ER_CURRENT_NOT_ALLOWED_IN_MATCH, "The current() function is not allowed in a match pattern!" }, /** Field ER_CURRENT_TAKES_NO_ARGS */ //public static final int ER_CURRENT_TAKES_NO_ARGS = 2; { ER_CURRENT_TAKES_NO_ARGS, "The current() function does not accept arguments!" }, /** Field ER_DOCUMENT_REPLACED */// public static final int ER_DOCUMENT_REPLACED = 3; { ER_DOCUMENT_REPLACED, "document() function implementation has been replaced by com.sun.org.apache.xalan.internal.xslt.FuncDocument!"}, /** Field ER_CONTEXT_HAS_NO_OWNERDOC */ // public static final int ER_CONTEXT_HAS_NO_OWNERDOC = 4; { ER_CONTEXT_HAS_NO_OWNERDOC, "context does not have an owner document!"}, /** Field ER_LOCALNAME_HAS_TOO_MANY_ARGS */ // public static final int ER_LOCALNAME_HAS_TOO_MANY_ARGS = 5; { ER_LOCALNAME_HAS_TOO_MANY_ARGS, "local-name() has too many arguments."}, /** Field ER_NAMESPACEURI_HAS_TOO_MANY_ARGS */ //public static final int ER_NAMESPACEURI_HAS_TOO_MANY_ARGS = 6; { ER_NAMESPACEURI_HAS_TOO_MANY_ARGS, "namespace-uri() has too many arguments."}, /** Field ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS */// public static final int ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS = 7; { ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS, "normalize-space() has too many arguments."}, /** Field ER_NUMBER_HAS_TOO_MANY_ARGS */// public static final int ER_NUMBER_HAS_TOO_MANY_ARGS = 8; { ER_NUMBER_HAS_TOO_MANY_ARGS, "number() has too many arguments."}, /** Field ER_NAME_HAS_TOO_MANY_ARGS */// public static final int ER_NAME_HAS_TOO_MANY_ARGS = 9; { ER_NAME_HAS_TOO_MANY_ARGS, "name() has too many arguments."}, /** Field ER_STRING_HAS_TOO_MANY_ARGS */// public static final int ER_STRING_HAS_TOO_MANY_ARGS = 10; { ER_STRING_HAS_TOO_MANY_ARGS, "string() has too many arguments."}, /** Field ER_STRINGLENGTH_HAS_TOO_MANY_ARGS */// public static final int ER_STRINGLENGTH_HAS_TOO_MANY_ARGS = 11; { ER_STRINGLENGTH_HAS_TOO_MANY_ARGS, "string-length() has too many arguments."}, /** Field ER_TRANSLATE_TAKES_3_ARGS */// public static final int ER_TRANSLATE_TAKES_3_ARGS = 12; { ER_TRANSLATE_TAKES_3_ARGS, "The translate() function takes three arguments!"}, /** Field ER_UNPARSEDENTITYURI_TAKES_1_ARG */// public static final int ER_UNPARSEDENTITYURI_TAKES_1_ARG = 13; { ER_UNPARSEDENTITYURI_TAKES_1_ARG, "The unparsed-entity-uri function should take one argument!"}, /** Field ER_NAMESPACEAXIS_NOT_IMPLEMENTED */// public static final int ER_NAMESPACEAXIS_NOT_IMPLEMENTED = 14; { ER_NAMESPACEAXIS_NOT_IMPLEMENTED, "namespace axis not implemented yet!"}, /** Field ER_UNKNOWN_AXIS */// public static final int ER_UNKNOWN_AXIS = 15; { ER_UNKNOWN_AXIS, "unknown axis: {0}"}, /** Field ER_UNKNOWN_MATCH_OPERATION */// public static final int ER_UNKNOWN_MATCH_OPERATION = 16; { ER_UNKNOWN_MATCH_OPERATION, "unknown match operation!"}, /** Field ER_INCORRECT_ARG_LENGTH */// public static final int ER_INCORRECT_ARG_LENGTH = 17; { ER_INCORRECT_ARG_LENGTH, "Arg length of processing-instruction() node test is incorrect!"}, /** Field ER_CANT_CONVERT_TO_NUMBER */// public static final int ER_CANT_CONVERT_TO_NUMBER = 18; { ER_CANT_CONVERT_TO_NUMBER, "Can not convert {0} to a number"}, /** Field ER_CANT_CONVERT_TO_NODELIST */ //public static final int ER_CANT_CONVERT_TO_NODELIST = 19; { ER_CANT_CONVERT_TO_NODELIST, "Can not convert {0} to a NodeList!"}, /** Field ER_CANT_CONVERT_TO_MUTABLENODELIST */// public static final int ER_CANT_CONVERT_TO_MUTABLENODELIST = 20; { ER_CANT_CONVERT_TO_MUTABLENODELIST, "Can not convert {0} to a NodeSetDTM!"}, /** Field ER_CANT_CONVERT_TO_TYPE */// public static final int ER_CANT_CONVERT_TO_TYPE = 21; { ER_CANT_CONVERT_TO_TYPE, "Can not convert {0} to a type#{1}"}, /** Field ER_EXPECTED_MATCH_PATTERN */// public static final int ER_EXPECTED_MATCH_PATTERN = 22; { ER_EXPECTED_MATCH_PATTERN, "Expected match pattern in getMatchScore!"}, /** Field ER_COULDNOT_GET_VAR_NAMED */// public static final int ER_COULDNOT_GET_VAR_NAMED = 23; { ER_COULDNOT_GET_VAR_NAMED, "Could not get variable named {0}"}, /** Field ER_UNKNOWN_OPCODE */// public static final int ER_UNKNOWN_OPCODE = 24; { ER_UNKNOWN_OPCODE, "ERROR! Unknown op code: {0}"}, /** Field ER_EXTRA_ILLEGAL_TOKENS */// public static final int ER_EXTRA_ILLEGAL_TOKENS = 25; { ER_EXTRA_ILLEGAL_TOKENS, "Extra illegal tokens: {0}"}, /** Field ER_EXPECTED_DOUBLE_QUOTE */// public static final int ER_EXPECTED_DOUBLE_QUOTE = 26; { ER_EXPECTED_DOUBLE_QUOTE, "misquoted literal... expected double quote!"}, /** Field ER_EXPECTED_SINGLE_QUOTE */// public static final int ER_EXPECTED_SINGLE_QUOTE = 27; { ER_EXPECTED_SINGLE_QUOTE, "misquoted literal... expected single quote!"}, /** Field ER_EMPTY_EXPRESSION */// public static final int ER_EMPTY_EXPRESSION = 28; { ER_EMPTY_EXPRESSION, "Empty expression!"}, /** Field ER_EXPECTED_BUT_FOUND */// public static final int ER_EXPECTED_BUT_FOUND = 29; { ER_EXPECTED_BUT_FOUND, "Expected {0}, but found: {1}"}, /** Field ER_INCORRECT_PROGRAMMER_ASSERTION */// public static final int ER_INCORRECT_PROGRAMMER_ASSERTION = 30; { ER_INCORRECT_PROGRAMMER_ASSERTION, "Programmer assertion is incorrect! - {0}"}, /** Field ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL */// public static final int ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL = 31; { ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL, "boolean(...) argument is no longer optional with 19990709 XPath draft."}, /** Field ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG */// public static final int ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG = 32; { ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG, "Found ',' but no preceding argument!"}, /** Field ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG */// public static final int ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG = 33; { ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG, "Found ',' but no following argument!"}, /** Field ER_PREDICATE_ILLEGAL_SYNTAX */// public static final int ER_PREDICATE_ILLEGAL_SYNTAX = 34; { ER_PREDICATE_ILLEGAL_SYNTAX, "'..[predicate]' or '.[predicate]' is illegal syntax. Use 'self::node()[predicate]' instead."}, /** Field ER_ILLEGAL_AXIS_NAME */// public static final int ER_ILLEGAL_AXIS_NAME = 35; { ER_ILLEGAL_AXIS_NAME, "illegal axis name: {0}"}, /** Field ER_UNKNOWN_NODETYPE */// public static final int ER_UNKNOWN_NODETYPE = 36; { ER_UNKNOWN_NODETYPE, "Unknown nodetype: {0}"}, /** Field ER_PATTERN_LITERAL_NEEDS_BE_QUOTED */// public static final int ER_PATTERN_LITERAL_NEEDS_BE_QUOTED = 37; { ER_PATTERN_LITERAL_NEEDS_BE_QUOTED, "Pattern literal ({0}) needs to be quoted!"}, /** Field ER_COULDNOT_BE_FORMATTED_TO_NUMBER */// public static final int ER_COULDNOT_BE_FORMATTED_TO_NUMBER = 38; { ER_COULDNOT_BE_FORMATTED_TO_NUMBER, "{0} could not be formatted to a number!"}, /** Field ER_COULDNOT_CREATE_XMLPROCESSORLIAISON */// public static final int ER_COULDNOT_CREATE_XMLPROCESSORLIAISON = 39; { ER_COULDNOT_CREATE_XMLPROCESSORLIAISON, "Could not create XML TransformerFactory Liaison: {0}"}, /** Field ER_DIDNOT_FIND_XPATH_SELECT_EXP */// public static final int ER_DIDNOT_FIND_XPATH_SELECT_EXP = 40; { ER_DIDNOT_FIND_XPATH_SELECT_EXP, "Error! Did not find xpath select expression (-select)."}, /** Field ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH */// public static final int ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH = 41; { ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH, "ERROR! Could not find ENDOP after OP_LOCATIONPATH"}, /** Field ER_ERROR_OCCURED */// public static final int ER_ERROR_OCCURED = 42; { ER_ERROR_OCCURED, "Error occured!"}, /** Field ER_ILLEGAL_VARIABLE_REFERENCE */// public static final int ER_ILLEGAL_VARIABLE_REFERENCE = 43; { ER_ILLEGAL_VARIABLE_REFERENCE, "VariableReference given for variable out of context or without definition! Name = {0}"}, /** Field ER_AXES_NOT_ALLOWED */// public static final int ER_AXES_NOT_ALLOWED = 44; { ER_AXES_NOT_ALLOWED, "Only child:: and attribute:: axes are allowed in match patterns! Offending axes = {0}"}, /** Field ER_KEY_HAS_TOO_MANY_ARGS */// public static final int ER_KEY_HAS_TOO_MANY_ARGS = 45; { ER_KEY_HAS_TOO_MANY_ARGS, "key() has an incorrect number of arguments."}, /** Field ER_COUNT_TAKES_1_ARG */// public static final int ER_COUNT_TAKES_1_ARG = 46; { ER_COUNT_TAKES_1_ARG, "The count function should take one argument!"}, /** Field ER_COULDNOT_FIND_FUNCTION */// public static final int ER_COULDNOT_FIND_FUNCTION = 47; { ER_COULDNOT_FIND_FUNCTION, "Could not find function: {0}"}, /** Field ER_UNSUPPORTED_ENCODING */// public static final int ER_UNSUPPORTED_ENCODING = 48; { ER_UNSUPPORTED_ENCODING, "Unsupported encoding: {0}"}, /** Field ER_PROBLEM_IN_DTM_NEXTSIBLING */// public static final int ER_PROBLEM_IN_DTM_NEXTSIBLING = 49; { ER_PROBLEM_IN_DTM_NEXTSIBLING, "Problem occured in DTM in getNextSibling... trying to recover"}, /** Field ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL */// public static final int ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL = 50; { ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL, "Programmer error: EmptyNodeList can not be written to."}, /** Field ER_SETDOMFACTORY_NOT_SUPPORTED */// public static final int ER_SETDOMFACTORY_NOT_SUPPORTED = 51; { ER_SETDOMFACTORY_NOT_SUPPORTED, "setDOMFactory is not supported by XPathContext!"}, /** Field ER_PREFIX_MUST_RESOLVE */// public static final int ER_PREFIX_MUST_RESOLVE = 52; { ER_PREFIX_MUST_RESOLVE, "Prefix must resolve to a namespace: {0}"}, /** Field ER_PARSE_NOT_SUPPORTED */// public static final int ER_PARSE_NOT_SUPPORTED = 53; { ER_PARSE_NOT_SUPPORTED, "parse (InputSource source) not supported in XPathContext! Can not open {0}"}, /** Field ER_CREATEDOCUMENT_NOT_SUPPORTED */// public static final int ER_CREATEDOCUMENT_NOT_SUPPORTED = 54; //{ ER_CREATEDOCUMENT_NOT_SUPPORTED, // "createDocument() not supported in XPathContext!"}, /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT */// public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT = 55; //{ ER_CHILD_HAS_NO_OWNER_DOCUMENT, // "Attribute child does not have an owner document!"}, /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT */// public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = 56; //{ ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT, // "Attribute child does not have an owner document element!"}, /** Field ER_SAX_API_NOT_HANDLED */// public static final int ER_SAX_API_NOT_HANDLED = 57;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?