📄 errormessages.java
字号:
*/ {ErrorMsg.JAXP_UNKNOWN_PROP_ERR, "Attempting to access invalid Transformer property ''{0}''."}, /* * Note to translators: SAX2DOM is the name of a Java class that should * not be translated. This is an adapter in the sense that it takes a * DOM object and converts it to something that uses the SAX API. */ {ErrorMsg.SAX2DOM_ADAPTER_ERR, "Could not create SAX2DOM adapter: ''{0}''."}, /* * Note to translators: "XSLTCSource.build()" is a Java method name. * "systemId" is an XML term that is short for "system identification". */ {ErrorMsg.XSLTC_SOURCE_ERR, "XSLTCSource.build() called without systemId being set."}, { ErrorMsg.ER_RESULT_NULL, "Result should not be null"}, /* * Note to translators: This message indicates that the value argument * of setParameter must be a valid Java Object. */ {ErrorMsg.JAXP_INVALID_SET_PARAM_VALUE, "The value of param {0} must be a valid Java Object"}, {ErrorMsg.COMPILE_STDIN_ERR, "The -i option must be used with the -o option."}, /* * Note to translators: This message contains usage information for a * means of invoking XSLTC from the command-line. The message is * formatted for presentation in English. The strings <output>, * <directory>, etc. indicate user-specified argument values, and can * be translated - the argument <package> refers to a Java package, so * it should be handled in the same way the term is handled for JDK * documentation. */ {ErrorMsg.COMPILE_USAGE_STR, "SYNOPSIS\n"+ " java com.sun.org.apache.xalan.internal.xsltc.cmdline.Compile [-o <output>]\n"+ " [-d <directory>] [-j <jarfile>] [-p <package>]\n"+ " [-n] [-x] [-u] [-v] [-h] { <stylesheet> | -i }\n\n"+ "OPTIONS\n"+ " -o <output> assigns the name <output> to the generated\n"+ " translet. By default the translet name is\n"+ " derived from the <stylesheet> name. This option\n"+ " is ignored if compiling multiple stylesheets.\n"+ " -d <directory> specifies a destination directory for translet\n"+ " -j <jarfile> packages translet classes into a jar file of the\n"+ " name specified as <jarfile>\n"+ " -p <package> specifies a package name prefix for all generated\n"+ " translet classes.\n"+ " -n enables template inlining (default behavior better\n"+ " on average).\n"+ " -x turns on additional debugging message output\n"+ " -u interprets <stylesheet> arguments as URLs\n"+ " -i forces compiler to read stylesheet from stdin\n"+ " -v prints the version of the compiler\n"+ " -h prints this usage statement\n"}, /* * Note to translators: This message contains usage information for a * means of invoking XSLTC from the command-line. The message is * formatted for presentation in English. The strings <jarfile>, * <document>, etc. indicate user-specified argument values, and can * be translated - the argument <class> refers to a Java class, so it * should be handled in the same way the term is handled for JDK * documentation. */ {ErrorMsg.TRANSFORM_USAGE_STR, "SYNOPSIS \n"+ " java com.sun.org.apache.xalan.internal.xsltc.cmdline.Transform [-j <jarfile>]\n"+ " [-x] [-n <iterations>] {-u <document_url> | <document>}\n"+ " <class> [<param1>=<value1> ...]\n\n"+ " uses the translet <class> to transform an XML document \n"+ " specified as <document>. The translet <class> is either in\n"+ " the user's CLASSPATH or in the optionally specified <jarfile>.\n"+ "OPTIONS\n"+ " -j <jarfile> specifies a jarfile from which to load translet\n"+ " -x turns on additional debugging message output\n"+ " -n <iterations> runs the transformation <iterations> times and\n"+ " displays profiling information\n"+ " -u <document_url> specifies XML input document as a URL\n"}, /* * Note to translators: "<xsl:sort>", "<xsl:for-each>" and * "<xsl:apply-templates>" are keywords that should not be translated. * The message indicates that an xsl:sort element must be a child of * one of the other kinds of elements mentioned. */ {ErrorMsg.STRAY_SORT_ERR, "<xsl:sort> can only be used within <xsl:for-each> or <xsl:apply-templates>."}, /* * Note to translators: The message indicates that the encoding * requested for the output document was on that requires support that * is not available from the Java Virtual Machine being used to execute * the program. */ {ErrorMsg.UNSUPPORTED_ENCODING, "Output encoding ''{0}'' is not supported on this JVM."}, /* * Note to translators: The message indicates that the XPath expression * named in the substitution text was not well formed syntactically. */ {ErrorMsg.SYNTAX_ERR, "Syntax error in ''{0}''."}, /* * Note to translators: The substitution text is the name of a Java * class. The term "constructor" here is the Java term. The message is * displayed if XSLTC could not find a constructor for the specified * class. */ {ErrorMsg.CONSTRUCTOR_NOT_FOUND, "Cannot find external constructor ''{0}''."}, /* * Note to translators: "static" is the Java keyword. The substitution * text is the name of a function. The first argument of that function * is not of the required type. */ {ErrorMsg.NO_JAVA_FUNCT_THIS_REF, "The first argument to the non-static Java function ''{0}'' is not a "+ "valid object reference."}, /* * Note to translators: An XPath expression was not of the type * required in a particular context. The substitution text is the * expression that was in error. */ {ErrorMsg.TYPE_CHECK_ERR, "Error checking type of the expression ''{0}''."}, /* * Note to translators: An XPath expression was not of the type * required in a particular context. However, the location of the * problematic expression is unknown. */ {ErrorMsg.TYPE_CHECK_UNK_LOC_ERR, "Error checking type of an expression at an unknown location."}, /* * Note to translators: The substitution text is the name of a command- * line option that was not recognized. */ {ErrorMsg.ILLEGAL_CMDLINE_OPTION_ERR, "The command-line option ''{0}'' is not valid."}, /* * Note to translators: The substitution text is the name of a command- * line option. */ {ErrorMsg.CMDLINE_OPT_MISSING_ARG_ERR, "The command-line option ''{0}'' is missing a required argument."}, /* * Note to translators: This message is used to indicate the severity * of another message. The substitution text contains two error * messages. The spacing before the second substitution text indents * it the same amount as the first in English. */ {ErrorMsg.WARNING_PLUS_WRAPPED_MSG, "WARNING: ''{0}''\n :{1}"}, /* * Note to translators: This message is used to indicate the severity * of another message. The substitution text is an error message. */ {ErrorMsg.WARNING_MSG, "WARNING: ''{0}''"}, /* * Note to translators: This message is used to indicate the severity * of another message. The substitution text contains two error * messages. The spacing before the second substitution text indents * it the same amount as the first in English. */ {ErrorMsg.FATAL_ERR_PLUS_WRAPPED_MSG, "FATAL ERROR: ''{0}''\n :{1}"}, /* * Note to translators: This message is used to indicate the severity * of another message. The substitution text is an error message. */ {ErrorMsg.FATAL_ERR_MSG, "FATAL ERROR: ''{0}''"}, /* * Note to translators: This message is used to indicate the severity * of another message. The substitution text contains two error * messages. The spacing before the second substitution text indents * it the same amount as the first in English. */ {ErrorMsg.ERROR_PLUS_WRAPPED_MSG, "ERROR: ''{0}''\n :{1}"}, /* * Note to translators: This message is used to indicate the severity * of another message. The substitution text is an error message. */ {ErrorMsg.ERROR_MSG, "ERROR: ''{0}''"}, /* * Note to translators: The substitution text is the name of a class. */ {ErrorMsg.TRANSFORM_WITH_TRANSLET_STR, "Transform using translet ''{0}'' "}, /* * Note to translators: The first substitution is the name of a class, * while the second substitution is the name of a jar file. */ {ErrorMsg.TRANSFORM_WITH_JAR_STR, "Transform using translet ''{0}'' from jar file ''{1}''"}, /* * Note to translators: "TransformerFactory" is the name of a Java * interface and must not be translated. The substitution text is * the name of the class that could not be instantiated. */ {ErrorMsg.COULD_NOT_CREATE_TRANS_FACT, "Could not create an instance of the TransformerFactory class ''{0}''."}, /* * Note to translators: This message is produced when the user * specified a name for the translet class that contains characters * that are not permitted in a Java class name. The substitution * text "{0}" specifies the name the user requested, while "{1}" * specifies the name the processor used instead. */ {ErrorMsg.TRANSLET_NAME_JAVA_CONFLICT, "The name ''{0}'' could not be used as the name of the translet "+ "class because it contains characters that are not permitted in the "+ "name of Java class. The name ''{1}'' was used instead."}, /* * Note to translators: The following message is used as a header. * All the error messages are collected together and displayed beneath * this message. */ {ErrorMsg.COMPILER_ERROR_KEY, "Compiler errors:"}, /* * Note to translators: The following message is used as a header. * All the warning messages are collected together and displayed * beneath this message. */ {ErrorMsg.COMPILER_WARNING_KEY, "Compiler warnings:"}, /* * Note to translators: The following message is used as a header. * All the error messages that are produced when the stylesheet is * applied to an input document are collected together and displayed * beneath this message. A 'translet' is the compiled form of a * stylesheet (see above). */ {ErrorMsg.RUNTIME_ERROR_KEY, "Translet errors:"}, /* * Note to translators: An attribute whose value is constrained to * be a "QName" or a list of "QNames" had a value that was incorrect. * 'QName' is an XML syntactic term that must not be translated. The * substitution text contains the actual value of the attribute. */ {ErrorMsg.INVALID_QNAME_ERR, "An attribute whose value must be a QName or whitespace-separated list of QNames had the value ''{0}''"}, /* * Note to translators: An attribute whose value is required to * be an "NCName". * 'NCName' is an XML syntactic term that must not be translated. The * substitution text contains the actual value of the attribute. */ {ErrorMsg.INVALID_NCNAME_ERR, "An attribute whose value must be an NCName had the value ''{0}''"}, /* * Note to translators: An attribute with an incorrect value was * encountered. The permitted value is one of the literal values * "xml", "html" or "text"; it is also permitted to have the form of * a QName that is not also an NCName. The terms "method", * "xsl:output", "xml", "html" and "text" are keywords that must not * be translated. The term "qname-but-not-ncname" is an XML syntactic * term. The substitution text contains the actual value of the * attribute. */ {ErrorMsg.INVALID_METHOD_IN_OUTPUT, "The method attribute of an <xsl:output> element had the value ''{0}''. The value must be one of ''xml'', ''html'', ''text'', or qname-but-not-ncname"}, {ErrorMsg.JAXP_GET_FEATURE_NULL_NAME, "The feature name cannot be null in TransformerFactory.getFeature(String name)."}, {ErrorMsg.JAXP_SET_FEATURE_NULL_NAME, "The feature name cannot be null in TransformerFactory.setFeature(String name, boolean value)."}, {ErrorMsg.JAXP_UNSUPPORTED_FEATURE, "Cannot set the feature ''{0}'' on this TransformerFactory."} }; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -