📄 xpatherrorresources_sv.java
字号:
/* * Copyright 1999-2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *//* * $Id: XPATHErrorResources_sv.java,v 1.2.4.1 2005/09/15 00:39:20 jeffsuttor Exp $ */package com.sun.org.apache.xpath.internal.res;/** * 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] * @xsl.usage advanced */public class XPATHErrorResources_sv extends XPATHErrorResources{ /** Field MAX_CODE */public static final int MAX_CODE = 108; // 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... /** * Get the association list. * * @return The association list. */ public Object[][] getContents() { return new Object[][]{ /** 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, "Funktionen current() \u00e4r inte till\u00e5ten i ett matchningsm\u00f6nster!"}, /** Field ER_CURRENT_TAKES_NO_ARGS */ //public static final int ER_CURRENT_TAKES_NO_ARGS = 2; { ER_CURRENT_TAKES_NO_ARGS, "Funktionen current() tar inte emot argument!"}, /** Field ER_DOCUMENT_REPLACED */ //public static final int ER_DOCUMENT_REPLACED = 3; { ER_DOCUMENT_REPLACED, "Implementeringen av funktionen document() har ersatts av 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, "Kontext saknar \u00e4gardokument!"}, /** 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() har f\u00f6r m\u00e5nga argument."}, /** 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() har f\u00f6r m\u00e5nga argument."}, /** 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() har f\u00f6r m\u00e5nga argument."}, /** 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() har f\u00f6r m\u00e5nga argument."}, /** 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() har f\u00f6r m\u00e5nga argument."}, /** 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() har f\u00f6r m\u00e5nga argument."}, /** 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() har f\u00f6r m\u00e5nga argument."}, /** Field ER_TRANSLATE_TAKES_3_ARGS */ //public static final int ER_TRANSLATE_TAKES_3_ARGS = 12; { ER_TRANSLATE_TAKES_3_ARGS, "Funktionen translate() tar emot tre argument!"}, /** Field ER_UNPARSEDENTITYURI_TAKES_1_ARG */ //public static final int ER_UNPARSEDENTITYURI_TAKES_1_ARG = 13; { ER_UNPARSEDENTITYURI_TAKES_1_ARG, "Funktionen unparsed-entity-uri borde ta emot ett argument!"}, /** Field ER_NAMESPACEAXIS_NOT_IMPLEMENTED */ //public static final int ER_NAMESPACEAXIS_NOT_IMPLEMENTED = 14; { ER_NAMESPACEAXIS_NOT_IMPLEMENTED, "Namespace-axel inte implementerad \u00e4n!"}, /** Field ER_UNKNOWN_AXIS */ //public static final int ER_UNKNOWN_AXIS = 15; { ER_UNKNOWN_AXIS, "ok\u00e4nd axel: {0}"}, /** Field ER_UNKNOWN_MATCH_OPERATION */ //public static final int ER_UNKNOWN_MATCH_OPERATION = 16; { ER_UNKNOWN_MATCH_OPERATION, "ok\u00e4nd matchningshandling!"}, /** Field ER_INCORRECT_ARG_LENGTH */ //public static final int ER_INCORRECT_ARG_LENGTH = 17; { ER_INCORRECT_ARG_LENGTH, "Nodtests argumentl\u00e4ngd i processing-instruction() \u00e4r inte korrekt!"}, /** Field ER_CANT_CONVERT_TO_NUMBER */ //public static final int ER_CANT_CONVERT_TO_NUMBER = 18; { ER_CANT_CONVERT_TO_NUMBER, "Kan inte konvertera {0} till ett nummer"}, /** Field ER_CANT_CONVERT_TO_NODELIST */ //public static final int ER_CANT_CONVERT_TO_NODELIST = 19; { ER_CANT_CONVERT_TO_NODELIST, "Kan inte konvertera {0} till en NodeList!"}, /** Field ER_CANT_CONVERT_TO_MUTABLENODELIST */ //public static final int ER_CANT_CONVERT_TO_MUTABLENODELIST = 20; { ER_CANT_CONVERT_TO_MUTABLENODELIST, "Kan inte konvertera {0} till en NodeSetDTM!"}, /** Field ER_CANT_CONVERT_TO_TYPE */ //public static final int ER_CANT_CONVERT_TO_TYPE = 21; { ER_CANT_CONVERT_TO_TYPE, "Kan inte konvertera {0} till en type//{1}"}, /** Field ER_EXPECTED_MATCH_PATTERN */ //public static final int ER_EXPECTED_MATCH_PATTERN = 22; { ER_EXPECTED_MATCH_PATTERN, "Matchningsm\u00f6nster i getMatchScore f\u00f6rv\u00e4ntat!"}, /** Field ER_COULDNOT_GET_VAR_NAMED */ //public static final int ER_COULDNOT_GET_VAR_NAMED = 23; { ER_COULDNOT_GET_VAR_NAMED, "Kunde inte h\u00e4mta variabeln {0}"}, /** Field ER_UNKNOWN_OPCODE */ //public static final int ER_UNKNOWN_OPCODE = 24; { ER_UNKNOWN_OPCODE, "FEL! Ok\u00e4nd op-kod: {0}"}, /** Field ER_EXTRA_ILLEGAL_TOKENS */ //public static final int ER_EXTRA_ILLEGAL_TOKENS = 25; { ER_EXTRA_ILLEGAL_TOKENS, "Ytterligare otill\u00e5tna tecken: {0}"}, /** Field ER_EXPECTED_DOUBLE_QUOTE */ //public static final int ER_EXPECTED_DOUBLE_QUOTE = 26; { ER_EXPECTED_DOUBLE_QUOTE, "Litteral omges av fel sorts citationstecken... dubbla citationstecken f\u00f6rv\u00e4ntade!"}, /** Field ER_EXPECTED_SINGLE_QUOTE */ //public static final int ER_EXPECTED_SINGLE_QUOTE = 27; { ER_EXPECTED_SINGLE_QUOTE, "Litteral omges av fel sorts citationstecken... enkla citationstecken f\u00f6rv\u00e4ntade!"}, /** Field ER_EMPTY_EXPRESSION */ //public static final int ER_EMPTY_EXPRESSION = 28; { ER_EMPTY_EXPRESSION, "Tomt uttryck!"}, /** Field ER_EXPECTED_BUT_FOUND */ //public static final int ER_EXPECTED_BUT_FOUND = 29; { ER_EXPECTED_BUT_FOUND, "{0} f\u00f6rv\u00e4ntat, men hittade: {1}"}, /** Field ER_INCORRECT_PROGRAMMER_ASSERTION */ //public static final int ER_INCORRECT_PROGRAMMER_ASSERTION = 30; { ER_INCORRECT_PROGRAMMER_ASSERTION, "Programmerares f\u00f6rs\u00e4kran \u00e4r inte korrekt! - {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 \u00e4r inte l\u00e4ngre valfri med 19990709 XPath-utkast."}, /** 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, "Hittade ',' men inget f\u00f6reg\u00e5ende 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, "Hittade ',' men inget efterf\u00f6ljande argument!"}, /** Field ER_PREDICATE_ILLEGAL_SYNTAX */ //public static final int ER_PREDICATE_ILLEGAL_SYNTAX = 34; { ER_PREDICATE_ILLEGAL_SYNTAX, "'..[predikat]' or '.[predikat]' \u00e4r otill\u00e5ten syntax. Anv\u00e4nd 'self::node()[predikat]' ist\u00e4llet."}, /** Field ER_ILLEGAL_AXIS_NAME */ //public static final int ER_ILLEGAL_AXIS_NAME = 35; { ER_ILLEGAL_AXIS_NAME, "otill\u00e5tet axel-namn: {0}"}, /** Field ER_UNKNOWN_NODETYPE */ //public static final int ER_UNKNOWN_NODETYPE = 36; { ER_UNKNOWN_NODETYPE, "ok\u00e4nd nodtyp: {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, "M\u00f6nsterlitteral {0} m\u00e5ste s\u00e4ttas inom citationstecken!"}, /** 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} kunde inte formateras till ett nummer"}, /** Field ER_COULDNOT_CREATE_XMLPROCESSORLIAISON */ //public static final int ER_COULDNOT_CREATE_XMLPROCESSORLIAISON = 39; { ER_COULDNOT_CREATE_XMLPROCESSORLIAISON, "Kunde inte skapa 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, "Fel! Hittade inte xpath select-uttryck (-select)."}, /** Field ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -