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

📄 xpatherrorresources_it.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,       "Impossibile convertire {0} in un booleano. "},  // 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,       "Impossibile convertire {0} in un nodo singolo. Questo getter si applica ai tipi ANY_UNORDERED_NODE_TYPE e FIRST_ORDERED_NODE_TYPE."},  // 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,       "Impossibile richiamare la lunghezza istantanea per il tipo: {0}. Questo getter si applica ai tipi UNORDERED_NODE_SNAPSHOT_TYPE e ORDERED_NODE_SNAPSHOT_TYPE."},  /** Field ER_NON_ITERATOR_TYPE                */  //public static final int ER_NON_ITERATOR_TYPE        = 106;  { ER_NON_ITERATOR_TYPE,       "Impossibile collegarsi ad un tipo non iteratore: {0}"},  // 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,       "Documento modificato da quando \u00e8 stato restituito il risultato. Iteratore non valido. "},  /** Field ER_INVALID_XPATH_TYPE               *///  public static final int ER_INVALID_XPATH_TYPE       = 108;  { ER_INVALID_XPATH_TYPE,       "Argomento di tipo XPath non valido: {0}"},  /** Field ER_EMPTY_XPATH_RESULT                *///  public static final int ER_EMPTY_XPATH_RESULT       = 109;  { ER_EMPTY_XPATH_RESULT,       "Oggetto risultato XPath vuoto "},  /** Field ER_INCOMPATIBLE_TYPES                *///  public static final int ER_INCOMPATIBLE_TYPES       = 110;  { ER_INCOMPATIBLE_TYPES,       "Il tipo restituito: {0} non pu\u00f2 essere forzato nel tipo specificato: {1}"},  /** Field ER_NULL_RESOLVER                     */ // public static final int ER_NULL_RESOLVER            = 111;  { ER_NULL_RESOLVER,       "Impossibile risolvere il prefisso con resolver di prefisso nullo. "},  // 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,       "Impossibile convertire {0} in una stringa. "},  // 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,       "Impossibile richiamare snapshotItem sul tipo: {0}. Questo metodo si applica ai tipi UNORDERED_NODE_SNAPSHOT_TYPE e ORDERED_NODE_SNAPSHOT_TYPE."},  // 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,       "Il nodo di contesto non appartiene al documento collegato a questo XPathEvaluator."},  // 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,       "Il tipo di nodo di contesto non \u00e8 supportato. "},  /** Field ER_XPATH_ERROR                       *///  public static final int ER_XPATH_ERROR             = 116;  { ER_XPATH_ERROR,       "Errore sconosciuto in XPath."},  // Warnings...  /** Field WG_LOCALE_NAME_NOT_HANDLED          *///  public static final int WG_LOCALE_NAME_NOT_HANDLED = 1;  { WG_LOCALE_NAME_NOT_HANDLED,      "nome locale nella funzione format-number non ancora gestito."},  /** Field WG_PROPERTY_NOT_SUPPORTED          *///  public static final int WG_PROPERTY_NOT_SUPPORTED = 2;  { WG_PROPERTY_NOT_SUPPORTED,      "Propriet\u00e0 XSL non supportata: {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,      "Non eseguire alcune azione per lo spazio nomi {0} nella propriet\u00e0: {1}"},  /** Field WG_SECURITY_EXCEPTION          */// public static final int WG_SECURITY_EXCEPTION = 4;  { WG_SECURITY_EXCEPTION,      "SecurityException durante il tentativo di accesso alla propriet\u00e0 di sistema XSL: {0}"},  /** Field WG_QUO_NO_LONGER_DEFINED          *///  public static final int WG_QUO_NO_LONGER_DEFINED = 5;  { WG_QUO_NO_LONGER_DEFINED,      "Sintassi obsoleta: quo(...) non \u00e8 pi\u00f9 definito in XPath."},  /** 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 richiede un oggetto derivato per implementare nodeTest!"},  /** Field WG_FUNCTION_TOKEN_NOT_FOUND          *///  public static final int WG_FUNCTION_TOKEN_NOT_FOUND = 7;  { WG_FUNCTION_TOKEN_NOT_FOUND,      "token funzione non trovato."},  /** Field WG_COULDNOT_FIND_FUNCTION          *///  public static final int WG_COULDNOT_FIND_FUNCTION = 8;  { WG_COULDNOT_FIND_FUNCTION,      "Impossibile trovare la funzione: {0}"},  /** Field WG_CANNOT_MAKE_URL_FROM          *///  public static final int WG_CANNOT_MAKE_URL_FROM = 9;  { WG_CANNOT_MAKE_URL_FROM,      "Impossibile ricavare l''URL da: {0}"},  /** Field WG_EXPAND_ENTITIES_NOT_SUPPORTED          *///  public static final int WG_EXPAND_ENTITIES_NOT_SUPPORTED = 10;  { WG_EXPAND_ENTITIES_NOT_SUPPORTED,      "Opzione -E non supportata per il parser DTM"},  /** Field WG_ILLEGAL_VARIABLE_REFERENCE          *///  public static final int WG_ILLEGAL_VARIABLE_REFERENCE = 11;  { WG_ILLEGAL_VARIABLE_REFERENCE,      "VariableReference fornito per la variabile \u00e8 fuori contesto o senza definizione.  Nome = {0}"},  /** Field WG_UNSUPPORTED_ENCODING          *///  public static final int WG_UNSUPPORTED_ENCODING = 12;  { WG_UNSUPPORTED_ENCODING,     "Codifica non supportata: {0}"},  // Other miscellaneous text used inside the code...  { "ui_language", "it"},  { "help_language", "it"},  { "language", "it"},  { "BAD_CODE", "Il parametro per createMessage fuori limite"},  { "FORMAT_FAILED", "Rilevata eccezione durante la chiamata messageFormat"},  { "version", ">>>>>>> Versione Xalan "},  { "version2", "<<<<<<<"},  { "yes", "s\u00ec"},  { "line", "Riga #"},  { "column", "Colonna #"},  { "xsldone", "XSLProcessor: eseguito"},  { "xpath_option", "opzioni xpath: "},  { "optionIN", "   [-in inputXMLURL]"},  { "optionSelect", "   [-select espressione xpath]"},  { "optionMatch", "   [-match associa il modello (per le diagnostiche di corrispondenza)]"},  { "optionAnyExpr", "Oppure per un'espressione xpath eseguir\u00e0 un dump diagnostico"},  { "noParsermsg1", "Elaborazione XSL non riuscita."},  { "noParsermsg2", "** Impossibile trovare il parser **"},  { "noParsermsg3", "Controllare il classpath."},  { "noParsermsg4", "Se non si possiede IBM XML Parser per Java, \u00e8 possibile scaricarlo da"},  { "noParsermsg5", "IBM AlphaWorks: http://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 = "#errore";  /** Field ERROR_HEADER          */  public static final String ERROR_HEADER = "Errore: ";  /** Field WARNING_HEADER          */  public static final String WARNING_HEADER = "Avvertenza: ";  /** 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 = "MODELLO ";  /**   * 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("it", "IT"));      }      catch (MissingResourceException e2)      {        // Now we are really in trouble.        // very bad, definitely very bad...not going to get very far        throw new MissingResourceException(          "Could not load any resource bundles.", 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 + -