Source Code Cross Referenced for XMLErrorResources_sv.java in  » XML » xalan » org » apache » xml » res » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » XML » xalan » org.apache.xml.res 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Copyright 1999-2004 The Apache Software Foundation.
003:         *
004:         * Licensed under the Apache License, Version 2.0 (the "License");
005:         * you may not use this file except in compliance with the License.
006:         * You may obtain a copy of the License at
007:         *
008:         *     http://www.apache.org/licenses/LICENSE-2.0
009:         *
010:         * Unless required by applicable law or agreed to in writing, software
011:         * distributed under the License is distributed on an "AS IS" BASIS,
012:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013:         * See the License for the specific language governing permissions and
014:         * limitations under the License.
015:         */
016:        /*
017:         * $Id: XMLErrorResources_sv.java,v 1.4 2004/12/15 17:35:51 jycli Exp $
018:         */
019:        package org.apache.xml.res;
020:
021:        /**
022:         * Set up error messages.
023:         * We build a two dimensional array of message keys and
024:         * message strings. In order to add a new message here,
025:         * you need to first add a String constant. And you need
026:         * to enter key, value pair as part of the contents
027:         * array. You also need to update MAX_CODE for error strings
028:         * and MAX_WARNING for warnings ( Needed for only information
029:         * purpose )
030:         */
031:        public class XMLErrorResources_sv extends XMLErrorResources {
032:
033:            /** Maximum error messages, this is needed to keep track of the number of messages.    */
034:            public static final int MAX_CODE = 61;
035:
036:            /** Maximum warnings, this is needed to keep track of the number of warnings.          */
037:            public static final int MAX_WARNING = 0;
038:
039:            /** Maximum misc strings.   */
040:            public static final int MAX_OTHERS = 4;
041:
042:            /** Maximum total warnings and error messages.          */
043:            public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
044:
045:            // Error messages...
046:
047:            /**
048:             * Get the lookup table for error messages
049:             *
050:             * @return The association list.
051:             */
052:            public Object[][] getContents() {
053:                return new Object[][] {
054:
055:                        /** Error message ID that has a null message, but takes in a single object.    */
056:                        { "ER0000", "{0}" },
057:
058:                        /** ER_FUNCTION_NOT_SUPPORTED          */
059:                        //public static final int ER_FUNCTION_NOT_SUPPORTED = 80;
060:
061:                        { ER_FUNCTION_NOT_SUPPORTED,
062:                                "Funktion inte underst\u00f6dd:" },
063:
064:                        /** Can't overwrite cause         */
065:                        //public static final int ER_CANNOT_OVERWRITE_CAUSE = 115;
066:
067:                        { ER_CANNOT_OVERWRITE_CAUSE,
068:                                "Kan inte skriva \u00f6ver orsak" },
069:
070:                        /**  No default implementation found */
071:                        //public static final int ER_NO_DEFAULT_IMPL = 156;
072:
073:                        { ER_NO_DEFAULT_IMPL,
074:                                "Standardimplementering saknas i:" },
075:
076:                        /**  ChunkedIntArray({0}) not currently supported */
077:                        //public static final int ER_CHUNKEDINTARRAY_NOT_SUPPORTED = 157;
078:
079:                        { ER_CHUNKEDINTARRAY_NOT_SUPPORTED,
080:                                "ChunkedIntArray({0}) underst\u00f6ds f\u00f6r n\u00e4rvarande inte" },
081:
082:                        /**  Offset bigger than slot */
083:                        //public static final int ER_OFFSET_BIGGER_THAN_SLOT = 158;
084:
085:                        { ER_OFFSET_BIGGER_THAN_SLOT,
086:                                "Offset st\u00f6rre \u00e4n fack" },
087:
088:                        /**  Coroutine not available, id= */
089:                        //public static final int ER_COROUTINE_NOT_AVAIL = 159;
090:
091:                        { ER_COROUTINE_NOT_AVAIL,
092:                                "Sidorutin inte tillg\u00e4nglig, id={0}" },
093:
094:                        /**  CoroutineManager recieved co_exit() request */
095:                        //public static final int ER_COROUTINE_CO_EXIT = 160;
096:
097:                        { ER_COROUTINE_CO_EXIT,
098:                                "CoroutineManager mottog co_exit()-f\u00f6rfr\u00e5gan" },
099:
100:                        /**  co_joinCoroutineSet() failed */
101:                        //public static final int ER_COJOINROUTINESET_FAILED = 161;
102:
103:                        { ER_COJOINROUTINESET_FAILED,
104:                                "co_joinCoroutineSet() misslyckades" },
105:
106:                        /**  Coroutine parameter error () */
107:                        //public static final int ER_COROUTINE_PARAM = 162;
108:
109:                        { ER_COROUTINE_PARAM,
110:                                "Sidorutin fick parameterfel ({0})" },
111:
112:                        /**  UNEXPECTED: Parser doTerminate answers  */
113:                        //public static final int ER_PARSER_DOTERMINATE_ANSWERS = 163;
114:
115:                        { ER_PARSER_DOTERMINATE_ANSWERS,
116:                                "\nOV\u00c4NTAT: Parser doTerminate-svar {0}" },
117:
118:                        /**  parse may not be called while parsing */
119:                        //public static final int ER_NO_PARSE_CALL_WHILE_PARSING = 164;
120:
121:                        { ER_NO_PARSE_CALL_WHILE_PARSING,
122:                                "parse f\u00e5r inte anropas medan tolkning sker" },
123:
124:                        /**  Error: typed iterator for axis  {0} not implemented  */
125:                        //public static final int ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = 165;
126:
127:                        { ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED,
128:                                "Fel: typad upprepare f\u00f6r axel {0} inte implementerad" },
129:
130:                        /**  Error: iterator for axis {0} not implemented  */
131:                        //public static final int ER_ITERATOR_AXIS_NOT_IMPLEMENTED = 166;
132:
133:                        { ER_ITERATOR_AXIS_NOT_IMPLEMENTED,
134:                                "Fel: upprepare f\u00f6r axel {0} inte implementerad" },
135:
136:                        /**  Iterator clone not supported  */
137:                        //public static final int ER_ITERATOR_CLONE_NOT_SUPPORTED = 167;
138:
139:                        { ER_ITERATOR_CLONE_NOT_SUPPORTED,
140:                                "Uppreparklon underst\u00f6ds inte" },
141:
142:                        /**  Unknown axis traversal type  */
143:                        //public static final int ER_UNKNOWN_AXIS_TYPE = 168;
144:
145:                        { ER_UNKNOWN_AXIS_TYPE,
146:                                "Ok\u00e4nd axeltraverstyp: {0}" },
147:
148:                        /**  Axis traverser not supported  */
149:                        //public static final int ER_AXIS_NOT_SUPPORTED = 169;
150:
151:                        { ER_AXIS_NOT_SUPPORTED,
152:                                "Axeltravers underst\u00f6ds inte: {0}" },
153:
154:                        /**  No more DTM IDs are available  */
155:                        //public static final int ER_NO_DTMIDS_AVAIL = 170;
156:
157:                        { ER_NO_DTMIDS_AVAIL,
158:                                "Inga fler DTM-IDs \u00e4r tillg\u00e4ngliga" },
159:
160:                        /**  Not supported  */
161:                        //public static final int ER_NOT_SUPPORTED = 171;
162:
163:                        { ER_NOT_SUPPORTED, "Underst\u00f6ds inte: {0}" },
164:
165:                        /**  node must be non-null for getDTMHandleFromNode  */
166:                        //public static final int ER_NODE_NON_NULL = 172;
167:
168:                        { ER_NODE_NON_NULL,
169:                                "Nod m\u00e5ste vara icke-null f\u00f6r getDTMHandleFromNode" },
170:
171:                        /**  Could not resolve the node to a handle  */
172:                        //public static final int ER_COULD_NOT_RESOLVE_NODE = 173;
173:
174:                        { ER_COULD_NOT_RESOLVE_NODE,
175:                                "Kunde inte l\u00f6sa nod till ett handtag" },
176:
177:                        /**  startParse may not be called while parsing */
178:                        //public static final int ER_STARTPARSE_WHILE_PARSING = 174;
179:
180:                        { ER_STARTPARSE_WHILE_PARSING,
181:                                "startParse f\u00e5r inte anropas medan tolkning sker" },
182:
183:                        /**  startParse needs a non-null SAXParser  */
184:                        //public static final int ER_STARTPARSE_NEEDS_SAXPARSER = 175;
185:
186:                        { ER_STARTPARSE_NEEDS_SAXPARSER,
187:                                "startParse beh\u00f6ver en SAXParser som \u00e4r icke-null" },
188:
189:                        /**  could not initialize parser with */
190:                        //public static final int ER_COULD_NOT_INIT_PARSER = 176;
191:
192:                        { ER_COULD_NOT_INIT_PARSER,
193:                                "kunde inte initialisera tolk med" },
194:
195:                        /**  exception creating new instance for pool  */
196:                        //public static final int ER_EXCEPTION_CREATING_POOL = 178;
197:
198:                        { ER_EXCEPTION_CREATING_POOL,
199:                                "undantag skapar ny instans f\u00f6r pool" },
200:
201:                        /**  Path contains invalid escape sequence  */
202:                        //public static final int ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = 179;
203:
204:                        { ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
205:                                "V\u00e4g inneh\u00e5ller ogiltig flyktsekvens" },
206:
207:                        /**  Scheme is required!  */
208:                        //public static final int ER_SCHEME_REQUIRED = 180;
209:
210:                        { ER_SCHEME_REQUIRED, "Schema kr\u00e4vs!" },
211:
212:                        /**  No scheme found in URI  */
213:                        //public static final int ER_NO_SCHEME_IN_URI = 181;
214:
215:                        { ER_NO_SCHEME_IN_URI, "Schema saknas i URI: {0}" },
216:
217:                        /**  No scheme found in URI  */
218:                        //public static final int ER_NO_SCHEME_INURI = 182;
219:
220:                        { ER_NO_SCHEME_INURI, "Schema saknas i URI" },
221:
222:                        /**  Path contains invalid character:   */
223:                        //public static final int ER_PATH_INVALID_CHAR = 183;
224:
225:                        { ER_PATH_INVALID_CHAR,
226:                                "V\u00e4g inneh\u00e5ller ogiltigt tecken: {0}" },
227:
228:                        /**  Cannot set scheme from null string  */
229:                        //public static final int ER_SCHEME_FROM_NULL_STRING = 184;
230:
231:                        { ER_SCHEME_FROM_NULL_STRING,
232:                                "Kan inte s\u00e4tta schema fr\u00e5n null-str\u00e4ng" },
233:
234:                        /**  The scheme is not conformant. */
235:                        //public static final int ER_SCHEME_NOT_CONFORMANT = 185;
236:
237:                        { ER_SCHEME_NOT_CONFORMANT,
238:                                "Schemat \u00e4r inte likformigt." },
239:
240:                        /**  Host is not a well formed address  */
241:                        //public static final int ER_HOST_ADDRESS_NOT_WELLFORMED = 186;
242:
243:                        { ER_HOST_ADDRESS_NOT_WELLFORMED,
244:                                "V\u00e4rd \u00e4r inte en v\u00e4lformulerad adress" },
245:
246:                        /**  Port cannot be set when host is null  */
247:                        //public static final int ER_PORT_WHEN_HOST_NULL = 187;
248:
249:                        { ER_PORT_WHEN_HOST_NULL,
250:                                "Port kan inte s\u00e4ttas n\u00e4r v\u00e4rd \u00e4r null" },
251:
252:                        /**  Invalid port number  */
253:                        //public static final int ER_INVALID_PORT = 188;
254:
255:                        { ER_INVALID_PORT, "Ogiltigt portnummer" },
256:
257:                        /**  Fragment can only be set for a generic URI  */
258:                        //public static final int ER_FRAG_FOR_GENERIC_URI = 189;
259:
260:                        { ER_FRAG_FOR_GENERIC_URI,
261:                                "Fragment kan bara s\u00e4ttas f\u00f6r en allm\u00e4n URI" },
262:
263:                        /**  Fragment cannot be set when path is null  */
264:                        //public static final int ER_FRAG_WHEN_PATH_NULL = 190;
265:
266:                        { ER_FRAG_WHEN_PATH_NULL,
267:                                "Fragment kan inte s\u00e4ttas n\u00e4r v\u00e4g \u00e4r null" },
268:
269:                        /**  Fragment contains invalid character  */
270:                        //public static final int ER_FRAG_INVALID_CHAR = 191;
271:
272:                        { ER_FRAG_INVALID_CHAR,
273:                                "Fragment inneh\u00e5ller ogiltigt tecken" },
274:
275:                        /** Parser is already in use  */
276:                        //public static final int ER_PARSER_IN_USE = 192;
277:
278:                        { ER_PARSER_IN_USE, "Tolk anv\u00e4nds redan" },
279:
280:                        /** Parser is already in use  */
281:                        //public static final int ER_CANNOT_CHANGE_WHILE_PARSING = 193;
282:
283:                        { ER_CANNOT_CHANGE_WHILE_PARSING,
284:                                "Kan inte \u00e4ndra {0} {1} medan tolkning sker" },
285:
286:                        /** Self-causation not permitted  */
287:                        //public static final int ER_SELF_CAUSATION_NOT_PERMITTED = 194;
288:
289:                        { ER_SELF_CAUSATION_NOT_PERMITTED,
290:                                "Sj\u00e4lvorsakande inte till\u00e5ten" },
291:
292:                        /** Userinfo may not be specified if host is not specified   */
293:                        //public static final int ER_NO_USERINFO_IF_NO_HOST = 198;
294:
295:                        { ER_NO_USERINFO_IF_NO_HOST,
296:                                "Userinfo f\u00e5r inte anges om v\u00e4rden inte \u00e4r angiven" },
297:
298:                        /** Port may not be specified if host is not specified   */
299:                        //public static final int ER_NO_PORT_IF_NO_HOST = 199;
300:
301:                        { ER_NO_PORT_IF_NO_HOST,
302:                                "Port f\u00e5r inte anges om v\u00e4rden inte \u00e4r angiven" },
303:
304:                        /** Query string cannot be specified in path and query string   */
305:                        //public static final int ER_NO_QUERY_STRING_IN_PATH = 200;
306:
307:                        {
308:                                ER_NO_QUERY_STRING_IN_PATH,
309:                                "F\u00f6rfr\u00e5gan-str\u00e4ng kan inte anges i v\u00e4g och f\u00f6rfr\u00e5gan-str\u00e4ng" },
310:
311:                        /** Fragment cannot be specified in both the path and fragment   */
312:                        //public static final int ER_NO_FRAGMENT_STRING_IN_PATH = 201;
313:
314:                        { ER_NO_FRAGMENT_STRING_IN_PATH,
315:                                "Fragment kan inte anges i b\u00e5de v\u00e4gen och fragmentet" },
316:
317:                        /** Cannot initialize URI with empty parameters   */
318:                        //public static final int ER_CANNOT_INIT_URI_EMPTY_PARMS = 202;
319:
320:                        { ER_CANNOT_INIT_URI_EMPTY_PARMS,
321:                                "Kan inte initialisera URI med tomma parametrar" },
322:
323:                        /**  Method not yet supported    */
324:                        //public static final int ER_METHOD_NOT_SUPPORTED = 210;
325:
326:                        { ER_METHOD_NOT_SUPPORTED,
327:                                "Metod \u00e4nnu inte underst\u00f6dd " },
328:
329:                        /** IncrementalSAXSource_Filter not currently restartable   */
330:                        //public static final int ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = 214;
331:
332:                        { ER_INCRSAXSRCFILTER_NOT_RESTARTABLE,
333:                                "IncrementalSAXSource_Filter kan f\u00f6r n\u00e4rvarande inte startas om" },
334:
335:                        /** IncrementalSAXSource_Filter not currently restartable   */
336:                        //public static final int ER_XMLRDR_NOT_BEFORE_STARTPARSE = 215;
337:
338:                        { ER_XMLRDR_NOT_BEFORE_STARTPARSE,
339:                                "XMLReader inte innan startParse-beg\u00e4ran" },
340:
341:                        // Axis traverser not supported: {0}
342:                        //public static final int ER_AXIS_TRAVERSER_NOT_SUPPORTED = 235;
343:
344:                        { ER_AXIS_TRAVERSER_NOT_SUPPORTED,
345:                                "Det g\u00e5r inte att v\u00e4nda axeln: {0}" },
346:
347:                        // ListingErrorHandler created with null PrintWriter!
348:                        //public static final int ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = 236;
349:
350:                        { ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER,
351:                                "ListingErrorHandler skapad med null PrintWriter!" },
352:
353:                        //public static final int ER_SYSTEMID_UNKNOWN = 240;
354:
355:                        { ER_SYSTEMID_UNKNOWN, "SystemId ok\u00e4nt" },
356:
357:                        // Location of error unknown
358:                        //public static final int ER_LOCATION_UNKNOWN = 241;
359:
360:                        { ER_LOCATION_UNKNOWN,
361:                                "Platsen f\u00f6r felet \u00e4r ok\u00e4nd" },
362:
363:                        /** Field ER_PREFIX_MUST_RESOLVE          */
364:                        //public static final int ER_PREFIX_MUST_RESOLVE = 52;
365:
366:                        { ER_PREFIX_MUST_RESOLVE,
367:                                "Prefix must resolve to a namespace: {0}" },
368:
369:                        /** Field ER_CREATEDOCUMENT_NOT_SUPPORTED          */
370:                        //public static final int ER_CREATEDOCUMENT_NOT_SUPPORTED = 54;
371:
372:                        { ER_CREATEDOCUMENT_NOT_SUPPORTED,
373:                                "createDocument() underst\u00f6ds inte av XPathContext!" },
374:
375:                        /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT          */
376:                        //public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT = 55;
377:
378:                        { ER_CHILD_HAS_NO_OWNER_DOCUMENT,
379:                                "Attributbarn saknar \u00e4gardokument!" },
380:
381:                        /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT          */
382:                        //public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = 56;
383:
384:                        { ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT,
385:                                "Attributbarn saknar \u00e4gardokumentelement!" },
386:
387:                        /** Field ER_CANT_OUTPUT_TEXT_BEFORE_DOC          */
388:                        //public static final int ER_CANT_OUTPUT_TEXT_BEFORE_DOC = 63;
389:
390:                        { ER_CANT_OUTPUT_TEXT_BEFORE_DOC,
391:                                "Varning: kan inte skriva ut text innan dokumentelement!  Ignorerar..." },
392:
393:                        /** Field ER_CANT_HAVE_MORE_THAN_ONE_ROOT          */
394:                        //public static final int ER_CANT_HAVE_MORE_THAN_ONE_ROOT = 64;
395:
396:                        { ER_CANT_HAVE_MORE_THAN_ONE_ROOT,
397:                                "Kan inte ha mer \u00e4n en rot p\u00e5 en DOM!" },
398:
399:                        /**  Argument 'localName' is null  */
400:                        //public static final int ER_ARG_LOCALNAME_NULL = 70;
401:
402:                        { ER_ARG_LOCALNAME_NULL,
403:                                "Argument 'localName' \u00e4r null" },
404:
405:                        // Note to translators:  A QNAME has the syntactic form [NCName:]NCName
406:                        // The localname is the portion after the optional colon; the message indicates
407:                        // that there is a problem with that part of the QNAME.
408:
409:                        /** localname in QNAME should be a valid NCName */
410:                        //public static final int ER_ARG_LOCALNAME_INVALID = 101;
411:
412:                        { ER_ARG_LOCALNAME_INVALID,
413:                                "Localname i QNAME b\u00f6r vara ett giltigt NCName" },
414:
415:                        // Note to translators:  A QNAME has the syntactic form [NCName:]NCName
416:                        // The prefix is the portion before the optional colon; the message indicates
417:                        // that there is a problem with that part of the QNAME.
418:
419:                        /** prefix in QNAME should be a valid NCName */
420:                        //public static final int ER_ARG_PREFIX_INVALID = 102;
421:
422:                        { ER_ARG_PREFIX_INVALID,
423:                                "Prefixet i QNAME b\u00f6r vara ett giltigt NCName" },
424:
425:                        { "BAD_CODE",
426:                                "Parameter till createMessage ligger utanf\u00f6r till\u00e5tet intervall" },
427:                        { "FORMAT_FAILED",
428:                                "Undantag utl\u00f6st vid messageFormat-anrop" },
429:                        { "line", "Rad #" }, { "column", "Kolumn #" }
430:
431:                };
432:            }
433:
434:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.