📄 xpatherrorresources_zh_cn.java
字号:
/* * @(#)XPATHErrorResources_zh_CN.java 1.3 03/04/27 * The Apache Software License, Version 1.1 * * * Copyright (c) 1999 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * 3. The end-user documentation included with the redistribution, * if any, must include the following acknowledgment: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." * Alternately, this acknowledgment may appear in the software itself, * if and wherever such third-party acknowledgments normally appear. * * 4. The names "Xalan" and "Apache Software Foundation" must * not be used to endorse or promote products derived from this * software without prior written permission. For written * permission, please contact apache@apache.org. * * 5. Products derived from this software may not be called "Apache", * nor may "Apache" appear in their name, without prior written * permission of the Apache Software Foundation. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * ==================================================================== * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation and was * originally based on software copyright (c) 2002, Sun Microsystems, * Inc., http://www.sun.com. For more * information on the Apache Software Foundation, please see * <http://www.apache.org/>. */package org.apache.xpath.res;import org.apache.xml.utils.res.XResourceBundleBase;import java.util.*;import java.text.DecimalFormat;/** * <meta name="usage" content="advanced"/> * Set up error messages. * We build a two dimensional array of message keys and * message strings. In order to add a new message here, * you need to first add a Static string constant for the * Key and update the contents array with Key, Value pair * Also you need to update the count of messages(MAX_CODE)or * the count of warnings(MAX_WARNING) [ Information purpose only] */public class XPATHErrorResources_zh_CN extends XPATHErrorResources{ /** Field MAX_CODE */ public static final int MAX_CODE = 116; // this is needed to keep track of the number of messages /** Field MAX_WARNING */ public static final int MAX_WARNING = 11; // this is needed to keep track of the number of warnings /** Field MAX_OTHERS */ public static final int MAX_OTHERS = 20; /** Field MAX_MESSAGES */ public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1; // 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, "\u5339\u914d\u6a21\u5f0f\u4e2d\u4e0d\u5141\u8bb8\u4f7f\u7528 current() \u51fd\u6570\uff01"}, /** Field ER_CURRENT_TAKES_NO_ARGS */ //public static final int ER_CURRENT_TAKES_NO_ARGS = 2; { ER_CURRENT_TAKES_NO_ARGS, "current() \u51fd\u6570\u4e0d\u63a5\u53d7\u53d8\u91cf\uff01"}, /** Field ER_DOCUMENT_REPLACED */ //public static final int ER_DOCUMENT_REPLACED = 3; { ER_DOCUMENT_REPLACED, "document() \u51fd\u6570\u5de5\u5177\u5df2\u88ab org.apache.xalan.xslt.FuncDocument \u66ff\u4ee3\uff01"}, /** Field ER_CONTEXT_HAS_NO_OWNERDOC */ //public static final int ER_CONTEXT_HAS_NO_OWNERDOC = 4; { ER_CONTEXT_HAS_NO_OWNERDOC, "\u4e0a\u4e0b\u6587\u6ca1\u6709\u5c5e\u4e3b\u6587\u6863\uff01"}, /** 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() \u7684\u53d8\u91cf\u592a\u591a\u3002"}, /** 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() \u7684\u53d8\u91cf\u592a\u591a\u3002"}, /** 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() \u7684\u53d8\u91cf\u592a\u591a\u3002"}, /** 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() \u7684\u53d8\u91cf\u592a\u591a\u3002"}, /** 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() \u7684\u53d8\u91cf\u592a\u591a\u3002"}, /** 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() \u7684\u53d8\u91cf\u592a\u591a\u3002"}, /** 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() \u7684\u53d8\u91cf\u592a\u591a\u3002"}, /** Field ER_TRANSLATE_TAKES_3_ARGS */ //public static final int ER_TRANSLATE_TAKES_3_ARGS = 12; { ER_TRANSLATE_TAKES_3_ARGS, "translate() \u51fd\u6570\u4f7f\u7528\u4e09\u4e2a\u53d8\u91cf\uff01"}, /** Field ER_UNPARSEDENTITYURI_TAKES_1_ARG */ //public static final int ER_UNPARSEDENTITYURI_TAKES_1_ARG = 13; { ER_UNPARSEDENTITYURI_TAKES_1_ARG, "unparsed-entity-uri \u51fd\u6570\u5e94\u4f7f\u7528\u4e00\u4e2a\u53d8\u91cf\uff01"}, /** Field ER_NAMESPACEAXIS_NOT_IMPLEMENTED */ //public static final int ER_NAMESPACEAXIS_NOT_IMPLEMENTED = 14; { ER_NAMESPACEAXIS_NOT_IMPLEMENTED, "\u4ecd\u672a\u5b9e\u73b0\u540d\u79f0\u7a7a\u95f4\u8f74\uff01"}, /** Field ER_UNKNOWN_AXIS */ //public static final int ER_UNKNOWN_AXIS = 15; { ER_UNKNOWN_AXIS, "\u672a\u77e5\u8f74\uff1a{0}"}, /** Field ER_UNKNOWN_MATCH_OPERATION */ //public static final int ER_UNKNOWN_MATCH_OPERATION = 16; { ER_UNKNOWN_MATCH_OPERATION, "\u5339\u914d\u64cd\u4f5c\u672a\u77e5\uff01"}, /** Field ER_INCORRECT_ARG_LENGTH */ //public static final int ER_INCORRECT_ARG_LENGTH = 17; { ER_INCORRECT_ARG_LENGTH, "processing-instruction() \u8282\u70b9\u7684\u53d8\u91cf\u957f\u5ea6\u6d4b\u8bd5\u4e0d\u6b63\u786e\uff01"}, /** Field ER_CANT_CONVERT_TO_NUMBER */ //public static final int ER_CANT_CONVERT_TO_NUMBER = 18; { ER_CANT_CONVERT_TO_NUMBER, "\u4e0d\u80fd\u5c06 {0} \u8f6c\u6362\u4e3a\u4e00\u4e2a\u6570\u5b57"}, /** Field ER_CANT_CONVERT_TO_NODELIST */ //public static final int ER_CANT_CONVERT_TO_NODELIST = 19; { ER_CANT_CONVERT_TO_NODELIST, "\u4e0d\u80fd\u5c06 {0} \u8f6c\u6362\u4e3a\u4e00\u4e2a NodeList\uff01"}, /** Field ER_CANT_CONVERT_TO_MUTABLENODELIST */ //public static final int ER_CANT_CONVERT_TO_MUTABLENODELIST = 20; { ER_CANT_CONVERT_TO_MUTABLENODELIST, "\u4e0d\u80fd\u5c06 {0} \u8f6c\u6362\u4e3a\u4e00\u4e2a NodeSetDTM\uff01"}, /** Field ER_CANT_CONVERT_TO_TYPE */ //public static final int ER_CANT_CONVERT_TO_TYPE = 21; { ER_CANT_CONVERT_TO_TYPE, "\u4e0d\u80fd\u5c06 {0} \u8f6c\u6362\u4e3a\u4e00\u4e2a type//{1}"}, /** Field ER_EXPECTED_MATCH_PATTERN */ //public static final int ER_EXPECTED_MATCH_PATTERN = 22; { ER_EXPECTED_MATCH_PATTERN, "getMatchScore \u4e2d\u9884\u671f\u7684\u5339\u914d\u6a21\u5f0f\uff01"}, /** Field ER_COULDNOT_GET_VAR_NAMED */ //public static final int ER_COULDNOT_GET_VAR_NAMED = 23; { ER_COULDNOT_GET_VAR_NAMED, "\u65e0\u6cd5\u83b7\u5f97\u547d\u540d\u7684\u53d8\u91cf {0}"}, /** Field ER_UNKNOWN_OPCODE */ //public static final int ER_UNKNOWN_OPCODE = 24; { ER_UNKNOWN_OPCODE, "\u9519\u8bef\uff01op \u4ee3\u7801\u672a\u77e5\uff1a{0}"}, /** Field ER_EXTRA_ILLEGAL_TOKENS */ //public static final int ER_EXTRA_ILLEGAL_TOKENS = 25; { ER_EXTRA_ILLEGAL_TOKENS, "\u989d\u5916\u7684\u975e\u6cd5\u6807\u8bb0\uff1a{0}"}, /** Field ER_EXPECTED_DOUBLE_QUOTE */ //public static final int ER_EXPECTED_DOUBLE_QUOTE = 26; { ER_EXPECTED_DOUBLE_QUOTE, "\u9519\u8bef\u5f15\u7528\u6587\u5b57... \u9884\u671f\u7684\u53cc\u5f15\u7528\uff01"}, /** Field ER_EXPECTED_SINGLE_QUOTE */ //public static final int ER_EXPECTED_SINGLE_QUOTE = 27; { ER_EXPECTED_SINGLE_QUOTE, "\u9519\u8bef\u5f15\u7528\u6587\u5b57... \u9884\u671f\u7684\u5355\u5f15\u7528\uff01"}, /** Field ER_EMPTY_EXPRESSION */ //public static final int ER_EMPTY_EXPRESSION = 28; { ER_EMPTY_EXPRESSION, "\u7a7a\u8868\u8fbe\u5f0f\uff01"}, /** Field ER_EXPECTED_BUT_FOUND */ //public static final int ER_EXPECTED_BUT_FOUND = 29; { ER_EXPECTED_BUT_FOUND, "\u9884\u671f\u7684 {0}\uff0c\u4f46\u53d1\u73b0\uff1a{1}"}, /** Field ER_INCORRECT_PROGRAMMER_ASSERTION */ //public static final int ER_INCORRECT_PROGRAMMER_ASSERTION = 30; { ER_INCORRECT_PROGRAMMER_ASSERTION, "\u7a0b\u5e8f\u5458\u65ad\u8a00\u662f\u9519\u8bef\u7684\uff01- {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, "19990709 XPath \u8349\u7a3f\u4e0d\u518d\u53ef\u9009\u7528 boolean(...) \u53d8\u91cf\u3002"}, /** 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, "\u5df2\u627e\u5230 ','\uff0c\u4f46\u672a\u627e\u5230\u524d\u8ff0\u53d8\u91cf\uff01"}, /** 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, "\u5df2\u627e\u5230 ','\uff0c\u4f46\u672a\u627e\u5230\u4ee5\u4e0b\u53d8\u91cf\uff01"}, /** Field ER_PREDICATE_ILLEGAL_SYNTAX */ //public static final int ER_PREDICATE_ILLEGAL_SYNTAX = 34; { ER_PREDICATE_ILLEGAL_SYNTAX, "'..[predicate]' \u6216 '.[predicate]' \u662f\u975e\u6cd5\u8bed\u6cd5\u3002\u8bf7\u6539\u7528 'self::node()[predicate]'\u3002"}, /** Field ER_ILLEGAL_AXIS_NAME */ //public static final int ER_ILLEGAL_AXIS_NAME = 35; { ER_ILLEGAL_AXIS_NAME, "\u975e\u6cd5\u7684\u8f74\u540d\u79f0\uff1a{0}"}, /** Field ER_UNKNOWN_NODETYPE */ //public static final int ER_UNKNOWN_NODETYPE = 36; { ER_UNKNOWN_NODETYPE, "\u672a\u77e5\u7684\u8282\u70b9\u7c7b\u578b\uff1a{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, "\u9700\u8981\u5f15\u7528\u6a21\u5f0f\u6587\u5b57 ({0})\uff01"}, /** Field ER_COULDNOT_BE_FORMATTED_TO_NUMBER */ //public static final int ER_COULDNOT_BE_FORMATTED_TO_NUMBER = 38; { ER_COULDNOT_BE_FORMATTED_TO_NUMBER, "\u4e0d\u80fd\u5c06 {0} \u683c\u5f0f\u5316\u4e3a\u4e00\u4e2a\u6570\u5b57\uff01"}, /** Field ER_COULDNOT_CREATE_XMLPROCESSORLIAISON */ //public static final int ER_COULDNOT_CREATE_XMLPROCESSORLIAISON = 39; { ER_COULDNOT_CREATE_XMLPROCESSORLIAISON, "\u4e0d\u80fd\u521b\u5efa XML TransformerFactory Liaison\uff1a{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, "\u9519\u8bef\uff01\u672a\u627e\u5230 xpath select \u8868\u8fbe\u5f0f (-select)\u3002"}, /** Field ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH */ //public static final int ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH = 41; { ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -