⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xpatherrorresources_zh_cn.java

📁 java1.6众多例子参考
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
  //{ ER_ARG_LOCALNAME_INVALID,  //     "Localname in QNAME should be a valid NCName"},  // Note to translators:  A QNAME has the syntactic form [NCName:]NCName  // The prefix is the portion before the optional colon; the message indicates  // that there is a problem with that part of the QNAME.  /** prefix in QNAME should be a valid NCName */ // public static final int ER_ARG_PREFIX_INVALID = 102;  //{ ER_ARG_PREFIX_INVALID,   //    "Prefix in QNAME should be a valid NCName"},  // Note to translators:  The substitution text is the name of a data type.  The  // message indicates that a value of a particular type could not be converted  // to a value of type string.  /** Field ER_CANT_CONVERT_TO_BOOLEAN          *///  public static final int ER_CANT_CONVERT_TO_BOOLEAN = 103;  { ER_CANT_CONVERT_TO_BOOLEAN,       "\u65e0\u6cd5\u5c06 {0} \u8f6c\u6362\u6210\u5e03\u5c14\u578b\u3002"},  // Note to translators: Do not translate ANY_UNORDERED_NODE_TYPE and  // FIRST_ORDERED_NODE_TYPE.  /** Field ER_CANT_CONVERT_TO_SINGLENODE       */  //public static final int ER_CANT_CONVERT_TO_SINGLENODE = 104;  { ER_CANT_CONVERT_TO_SINGLENODE,       "\u65e0\u6cd5\u5c06 {0} \u8f6c\u6362\u6210\u5355\u8282\u70b9\u3002\u6b64\u83b7\u53d6\u65b9\u6cd5\u5e94\u7528\u4e8e\u7c7b\u578b ANY_UNORDERED_NODE_TYPE \u548c FIRST_ORDERED_NODE_TYPE\u3002"},  // Note to translators: Do not translate UNORDERED_NODE_SNAPSHOT_TYPE and  // ORDERED_NODE_SNAPSHOT_TYPE.  /** Field ER_CANT_GET_SNAPSHOT_LENGTH         *///  public static final int ER_CANT_GET_SNAPSHOT_LENGTH = 105;  { ER_CANT_GET_SNAPSHOT_LENGTH,       "\u65e0\u6cd5\u5728\u7c7b\u578b {0} \u4e0a\u83b7\u53d6\u5feb\u7167\u957f\u5ea6\u3002\u6b64\u83b7\u53d6\u65b9\u6cd5\u5e94\u7528\u4e8e\u7c7b\u578b UNORDERED_NODE_SNAPSHOT_TYPE \u548c ORDERED_NODE_SNAPSHOT_TYPE\u3002"},  /** Field ER_NON_ITERATOR_TYPE                */  //public static final int ER_NON_ITERATOR_TYPE        = 106;  { ER_NON_ITERATOR_TYPE,       "\u65e0\u6cd5\u5bf9\u975e\u8fed\u4ee3\u7c7b\u578b {0} \u8fdb\u884c\u8fed\u4ee3"},  // Note to translators: This message indicates that the document being operated  // upon changed, so the iterator object that was being used to traverse the  // document has now become invalid.  /** Field ER_DOC_MUTATED                      *///  public static final int ER_DOC_MUTATED              = 107;  { ER_DOC_MUTATED,       "\u8fd4\u56de\u7ed3\u679c\u540e\u6587\u6863\u53d1\u751f\u53d8\u5316\u3002\u8fed\u4ee3\u5668\u65e0\u6548\u3002"},  /** Field ER_INVALID_XPATH_TYPE               *///  public static final int ER_INVALID_XPATH_TYPE       = 108;  { ER_INVALID_XPATH_TYPE,       "\u65e0\u6548\u7684 XPath \u7c7b\u578b\u81ea\u53d8\u91cf\uff1a{0}"},  /** Field ER_EMPTY_XPATH_RESULT                *///  public static final int ER_EMPTY_XPATH_RESULT       = 109;  { ER_EMPTY_XPATH_RESULT,       "\u7a7a\u7684 XPath \u7ed3\u679c\u5bf9\u8c61"},  /** Field ER_INCOMPATIBLE_TYPES                *///  public static final int ER_INCOMPATIBLE_TYPES       = 110;  { ER_INCOMPATIBLE_TYPES,       "\u8fd4\u56de\u7c7b\u578b {0} \u65e0\u6cd5\u5f3a\u5236\u8f6c\u6362\u4e3a\u6307\u5b9a\u7684\u7c7b\u578b\uff1a{1}"},  /** Field ER_NULL_RESOLVER                     */ // public static final int ER_NULL_RESOLVER            = 111;  { ER_NULL_RESOLVER,       "\u65e0\u6cd5\u4f7f\u7528\u7a7a\u524d\u7f00\u89e3\u6790\u5668\u89e3\u6790\u524d\u7f00\u3002"},  // Note to translators:  The substitution text is the name of a data type.  The  // message indicates that a value of a particular type could not be converted  // to a value of type string.  /** Field ER_CANT_CONVERT_TO_STRING            *///  public static final int ER_CANT_CONVERT_TO_STRING   = 112;  { ER_CANT_CONVERT_TO_STRING,       "\u65e0\u6cd5\u5c06 {0} \u8f6c\u6362\u6210\u5b57\u7b26\u4e32\u3002"},  // Note to translators: Do not translate snapshotItem,  // UNORDERED_NODE_SNAPSHOT_TYPE and ORDERED_NODE_SNAPSHOT_TYPE.  /** Field ER_NON_SNAPSHOT_TYPE                 *///  public static final int ER_NON_SNAPSHOT_TYPE       = 113;  { ER_NON_SNAPSHOT_TYPE,       "\u65e0\u6cd5\u5728\u7c7b\u578b {0} \u4e0a\u8c03\u7528 snapshotItem\u3002\u6b64\u65b9\u6cd5\u5e94\u7528\u4e8e\u7c7b\u578b UNORDERED_NODE_SNAPSHOT_TYPE \u548c ORDERED_NODE_SNAPSHOT_TYPE\u3002"},  // Note to translators:  XPathEvaluator is a Java interface name.  An  // XPathEvaluator is created with respect to a particular XML document, and in  // this case the expression represented by this object was being evaluated with  // respect to a context node from a different document.  /** Field ER_WRONG_DOCUMENT                    *///  public static final int ER_WRONG_DOCUMENT          = 114;  { ER_WRONG_DOCUMENT,       "\u4e0a\u4e0b\u6587\u8282\u70b9\u4e0d\u5c5e\u4e8e\u7ed1\u5b9a\u5230\u6b64 XPathEvaluator \u7684\u6587\u6863\u3002"},  // Note to translators:  The XPath expression cannot be evaluated with respect  // to this type of node.  /** Field ER_WRONG_NODETYPE                    *///  public static final int ER_WRONG_NODETYPE          = 115;  { ER_WRONG_NODETYPE,       "\u4e0d\u652f\u6301\u4e0a\u4e0b\u6587\u8282\u70b9\u7c7b\u578b\u3002"},  /** Field ER_XPATH_ERROR                       *///  public static final int ER_XPATH_ERROR             = 116;  { ER_XPATH_ERROR,       "XPath \u672a\u77e5\u9519\u8bef"},  // Warnings...  /** Field WG_LOCALE_NAME_NOT_HANDLED          *///  public static final int WG_LOCALE_NAME_NOT_HANDLED = 1;  { WG_LOCALE_NAME_NOT_HANDLED,      "format-number \u51fd\u6570\u4e2d\u672a\u5904\u7406\u8fc7\u7684\u8bed\u8a00\u73af\u5883\u540d\uff01"},  /** Field WG_PROPERTY_NOT_SUPPORTED          *///  public static final int WG_PROPERTY_NOT_SUPPORTED = 2;  { WG_PROPERTY_NOT_SUPPORTED,      "\u4e0d\u652f\u6301 XSL \u5c5e\u6027\uff1a{0}"},  /** Field WG_DONT_DO_ANYTHING_WITH_NS          *///  public static final int WG_DONT_DO_ANYTHING_WITH_NS = 3;  { WG_DONT_DO_ANYTHING_WITH_NS,      "\u5f53\u524d\u4e0d\u8981\u5728\u5c5e\u6027 {1} \u4e2d\u5bf9\u540d\u79f0\u7a7a\u95f4 {0} \u8fdb\u884c\u4efb\u4f55\u5904\u7406"},  /** Field WG_SECURITY_EXCEPTION          */// public static final int WG_SECURITY_EXCEPTION = 4;  { WG_SECURITY_EXCEPTION,      "\u5728\u8bd5\u56fe\u8bbf\u95ee XSL \u7cfb\u7edf\u5c5e\u6027 {0} \u65f6\u53d1\u751f SecurityException \u5f02\u5e38"},  /** Field WG_QUO_NO_LONGER_DEFINED          *///  public static final int WG_QUO_NO_LONGER_DEFINED = 5;  { WG_QUO_NO_LONGER_DEFINED,      "XPath \u4e2d\u4e0d\u518d\u5b9a\u4e49\u65e7\u8bed\u6cd5\uff1aquo(...)\u3002"},  /** Field WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST          */// public static final int WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST = 6;  { WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST,      "XPath \u9700\u8981\u4e00\u4e2a\u6d3e\u751f\u7684\u5bf9\u8c61\u4ee5\u5b9e\u73b0 nodeTest\uff01"},  /** Field WG_FUNCTION_TOKEN_NOT_FOUND          *///  public static final int WG_FUNCTION_TOKEN_NOT_FOUND = 7;  { WG_FUNCTION_TOKEN_NOT_FOUND,      "\u627e\u4e0d\u5230\u51fd\u6570\u4ee4\u724c\u3002"},  /** Field WG_COULDNOT_FIND_FUNCTION          *///  public static final int WG_COULDNOT_FIND_FUNCTION = 8;  { WG_COULDNOT_FIND_FUNCTION,      "\u627e\u4e0d\u5230\u51fd\u6570\uff1a{0}"},  /** Field WG_CANNOT_MAKE_URL_FROM          *///  public static final int WG_CANNOT_MAKE_URL_FROM = 9;  { WG_CANNOT_MAKE_URL_FROM,      "\u65e0\u6cd5\u4ece {0} \u751f\u6210 URL"},  /** Field WG_EXPAND_ENTITIES_NOT_SUPPORTED          *///  public static final int WG_EXPAND_ENTITIES_NOT_SUPPORTED = 10;  { WG_EXPAND_ENTITIES_NOT_SUPPORTED,      "DTM \u89e3\u6790\u5668\u4e0d\u652f\u6301 -E \u9009\u9879"},  /** Field WG_ILLEGAL_VARIABLE_REFERENCE          *///  public static final int WG_ILLEGAL_VARIABLE_REFERENCE = 11;  { WG_ILLEGAL_VARIABLE_REFERENCE,      "\u5c06 VariableReference \u8d4b\u7ed9\u4e0a\u4e0b\u6587\u5916\u7684\u53d8\u91cf\u6216\u6ca1\u6709\u5b9a\u4e49\u7684\u53d8\u91cf\uff01\u540d\u79f0 = {0}"},  /** Field WG_UNSUPPORTED_ENCODING          *///  public static final int WG_UNSUPPORTED_ENCODING = 12;  { WG_UNSUPPORTED_ENCODING,     "\u4e0d\u53d7\u652f\u6301\u7684\u7f16\u7801\uff1a{0}"},  // Other miscellaneous text used inside the code...  { "ui_language", "zh"},  { "help_language", "zh"},  { "language", "zh"},  { "BAD_CODE", "createMessage \u7684\u53c2\u6570\u8d85\u51fa\u8303\u56f4"},  { "FORMAT_FAILED", "\u5728 messageFormat \u8c03\u7528\u8fc7\u7a0b\u4e2d\u629b\u51fa\u7684\u5f02\u5e38"},  { "version", ">>>>>>> Xalan \u7248\u672c"},  { "version2", "<<<<<<<"},  { "yes", "\u662f"},  { "line", "\u884c\u53f7"},  { "column", "\u5217\u53f7"},  { "xsldone", "XSLProcessor\uff1a\u5b8c\u6210"},  { "xpath_option", "xpath \u9009\u9879\uff1a"},  { "optionIN", "[-in inputXMLURL]"},  { "optionSelect", "[-select xpath \u8868\u8fbe\u5f0f]"},  { "optionMatch", "[-match \u5339\u914d\u6a21\u5f0f\uff08\u7528\u4e8e\u5339\u914d\u8bca\u65ad\uff09]"},  { "optionAnyExpr", "\u6216\u8005\u4ec5\u4e00\u4e2a xpath \u8868\u8fbe\u5f0f\u5c31\u5c06\u5b8c\u6210\u4e00\u4e2a\u8bca\u65ad\u8f6c\u50a8"},  { "noParsermsg1", "XSL \u5904\u7406\u4e0d\u6210\u529f\u3002"},  { "noParsermsg2", "** \u627e\u4e0d\u5230\u89e3\u6790\u5668 **"},  { "noParsermsg3", "\u8bf7\u68c0\u67e5\u60a8\u7684\u7c7b\u8def\u5f84\u3002"},  { "noParsermsg4", "\u5982\u679c\u6ca1\u6709 IBM \u7684 XML Parser for Java\uff0c\u60a8\u53ef\u4ee5\u4ece\u4ee5\u4e0b\u4f4d\u7f6e\u4e0b\u8f7d\u5b83\uff1a"},  { "noParsermsg5", "IBM \u7684 AlphaWorks\uff1ahttp://www.alphaworks.ibm.com/formula/xml"},  { "gtone", ">1" },  { "zero", "0" },  { "one", "1" },  { "two" , "2" },  { "three", "3" }  };  }  /** Field BAD_CODE          */  public static final String BAD_CODE = "BAD_CODE";  /** Field FORMAT_FAILED          */  public static final String FORMAT_FAILED = "FORMAT_FAILED";  /** Field ERROR_RESOURCES          */  public static final String ERROR_RESOURCES =    "com.sun.org.apache.xpath.internal.res.XPATHErrorResources";  /** Field ERROR_STRING          */  public static final String ERROR_STRING = "#\u9519\u8bef";  /** Field ERROR_HEADER          */  public static final String ERROR_HEADER = "\u9519\u8bef:";  /** Field WARNING_HEADER          */  public static final String WARNING_HEADER = "\u8b66\u544a:";  /** Field XSL_HEADER          */  public static final String XSL_HEADER = "XSL ";  /** Field XML_HEADER          */  public static final String XML_HEADER = "XML ";  /** Field QUERY_HEADER          */  public static final String QUERY_HEADER = "PATTERN ";  /**   * Return a named ResourceBundle for a particular locale.  This method mimics the behavior   * of ResourceBundle.getBundle().   *   * @param className Name of local-specific subclass.   * @return the ResourceBundle   * @throws MissingResourceException   */  public static final XPATHErrorResources loadResourceBundle(String className)          throws MissingResourceException  {    Locale locale = Locale.getDefault();    String suffix = getResourceSuffix(locale);    try    {      // first try with the given locale      return (XPATHErrorResources) ResourceBundle.getBundle(className              + suffix, locale);    }    catch (MissingResourceException e)    {      try  // try to fall back to en_US if we can't load      {        // Since we can't find the localized property file,        // fall back to en_US.        return (XPATHErrorResources) ResourceBundle.getBundle(className,                new Locale("zh", "CN"));      }      catch (MissingResourceException e2)      {        // Now we are really in trouble.        // very bad, definitely very bad...not going to get very far        throw new MissingResourceException(          "\u65e0\u6cd5\u88c5\u5165\u4efb\u4f55\u8d44\u6e90\u5305\u3002", className, "");      }    }  }  /**   * Return the resource file suffic for the indicated locale   * For most locales, this will be based the language code.  However   * for Chinese, we do distinguish between Taiwan and PRC   *   * @param locale the locale   * @return an String suffix which canbe appended to a resource name   */  private static final String getResourceSuffix(Locale locale)  {    String suffix = "_" + locale.getLanguage();    String country = locale.getCountry();    if (country.equals("TW"))      suffix += "_" + country;    return suffix;  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -