Source Code Cross Referenced for ModelMessages.java in  » 6.0-JDK-Modules » jax-ws-tools » com » sun » tools » ws » resources » 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 » 6.0 JDK Modules » jax ws tools » com.sun.tools.ws.resources 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package com.sun.tools.ws.resources;
002:
003:        import com.sun.xml.ws.util.localization.Localizable;
004:        import com.sun.xml.ws.util.localization.LocalizableMessageFactory;
005:        import com.sun.xml.ws.util.localization.Localizer;
006:
007:        /**
008:         * Defines string formatting method for each constant in the resource file
009:         * 
010:         */
011:        public final class ModelMessages {
012:
013:            private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory(
014:                    "com.sun.tools.ws.resources.model");
015:            private final static Localizer localizer = new Localizer();
016:
017:            public static Localizable localizableMODEL_DUPLICATE_SERVICE(
018:                    Object arg0) {
019:                return messageFactory.getMessage("model.duplicate.service",
020:                        arg0);
021:            }
022:
023:            /**
024:             * duplicate service added to model: {0}
025:             * 
026:             */
027:            public static String MODEL_DUPLICATE_SERVICE(Object arg0) {
028:                return localizer
029:                        .localize(localizableMODEL_DUPLICATE_SERVICE(arg0));
030:            }
031:
032:            public static Localizable localizableMODEL_NESTED_MODEL_ERROR(
033:                    Object arg0) {
034:                return messageFactory
035:                        .getMessage("model.nestedModelError", arg0);
036:            }
037:
038:            /**
039:             * model error: {0}
040:             * 
041:             */
042:            public static String MODEL_NESTED_MODEL_ERROR(Object arg0) {
043:                return localizer
044:                        .localize(localizableMODEL_NESTED_MODEL_ERROR(arg0));
045:            }
046:
047:            public static Localizable localizableMODEL_DUPLICATE_PORTTYPE(
048:                    Object arg0) {
049:                return messageFactory.getMessage("model.duplicate.porttype",
050:                        arg0);
051:            }
052:
053:            /**
054:             * duplicate PortType added to model: {0}
055:             * 
056:             */
057:            public static String MODEL_DUPLICATE_PORTTYPE(Object arg0) {
058:                return localizer
059:                        .localize(localizableMODEL_DUPLICATE_PORTTYPE(arg0));
060:            }
061:
062:            public static Localizable localizableMODEL_EXCEPTION_NOTUNIQUE(
063:                    Object arg0, Object arg1) {
064:                return messageFactory.getMessage("model.exception.notunique",
065:                        arg0, arg1);
066:            }
067:
068:            /**
069:             * Failed to generate Java signature: duplicate exception names {0}. Use JAXWS binding customization to rename the wsdl:part "{1}"
070:             * 
071:             */
072:            public static String MODEL_EXCEPTION_NOTUNIQUE(Object arg0,
073:                    Object arg1) {
074:                return localizer.localize(localizableMODEL_EXCEPTION_NOTUNIQUE(
075:                        arg0, arg1));
076:            }
077:
078:            public static Localizable localizableMODEL_SCHEMA_INVALID_WILDCARD_ALL_COMPOSITOR(
079:                    Object arg0) {
080:                return messageFactory.getMessage(
081:                        "model.schema.invalidWildcard.allCompositor", arg0);
082:            }
083:
084:            /**
085:             * xsd:all compositor not supported for the wildcard in schema type: "{0}"
086:             * 
087:             */
088:            public static String MODEL_SCHEMA_INVALID_WILDCARD_ALL_COMPOSITOR(
089:                    Object arg0) {
090:                return localizer
091:                        .localize(localizableMODEL_SCHEMA_INVALID_WILDCARD_ALL_COMPOSITOR(arg0));
092:            }
093:
094:            public static Localizable localizableMODEL_SCHEMA_SIMPLE_TYPE_WITH_FACETS(
095:                    Object arg0) {
096:                return messageFactory.getMessage(
097:                        "model.schema.simpleTypeWithFacets", arg0);
098:            }
099:
100:            /**
101:             * facet "{0}" not supported on simple type: "{0}"
102:             * 
103:             */
104:            public static String MODEL_SCHEMA_SIMPLE_TYPE_WITH_FACETS(
105:                    Object arg0) {
106:                return localizer
107:                        .localize(localizableMODEL_SCHEMA_SIMPLE_TYPE_WITH_FACETS(arg0));
108:            }
109:
110:            public static Localizable localizableMODEL_SCHEMA_UNSUPPORTED_TYPE_ANONYMOUS(
111:                    Object arg0) {
112:                return messageFactory.getMessage(
113:                        "model.schema.unsupportedType.anonymous", arg0);
114:            }
115:
116:            /**
117:             * unsupported anonymous type ({0})
118:             * 
119:             */
120:            public static String MODEL_SCHEMA_UNSUPPORTED_TYPE_ANONYMOUS(
121:                    Object arg0) {
122:                return localizer
123:                        .localize(localizableMODEL_SCHEMA_UNSUPPORTED_TYPE_ANONYMOUS(arg0));
124:            }
125:
126:            public static Localizable localizableMODEL_COMPLEX_TYPE_SIMPLE_CONTENT_RESERVED_NAME(
127:                    Object arg0) {
128:                return messageFactory.getMessage(
129:                        "model.complexType.simpleContent.reservedName", arg0);
130:            }
131:
132:            /**
133:             * invalid attribute name: "_value" in complexType: "{0}", _value is JAXWS reserved name, this name is generated in the generated javabean class to hold content value in the generated javabean class for complexType/simpleContent.
134:             * 
135:             */
136:            public static String MODEL_COMPLEX_TYPE_SIMPLE_CONTENT_RESERVED_NAME(
137:                    Object arg0) {
138:                return localizer
139:                        .localize(localizableMODEL_COMPLEX_TYPE_SIMPLE_CONTENT_RESERVED_NAME(arg0));
140:            }
141:
142:            public static Localizable localizableMODEL_SCHEMA_UNION_NOT_SUPPORTED(
143:                    Object arg0) {
144:                return messageFactory.getMessage(
145:                        "model.schema.unionNotSupported", arg0);
146:            }
147:
148:            /**
149:             * simpleType: "{0}" derivation by xsd:union not supported
150:             * 
151:             */
152:            public static String MODEL_SCHEMA_UNION_NOT_SUPPORTED(Object arg0) {
153:                return localizer
154:                        .localize(localizableMODEL_SCHEMA_UNION_NOT_SUPPORTED(arg0));
155:            }
156:
157:            public static Localizable localizableMODEL_SCHEMA_JAXB_EXCEPTION_MESSAGE(
158:                    Object arg0) {
159:                return messageFactory.getMessage(
160:                        "model.schema.jaxbException.message", arg0);
161:            }
162:
163:            /**
164:             * "{0}"
165:             * 
166:             */
167:            public static String MODEL_SCHEMA_JAXB_EXCEPTION_MESSAGE(Object arg0) {
168:                return localizer
169:                        .localize(localizableMODEL_SCHEMA_JAXB_EXCEPTION_MESSAGE(arg0));
170:            }
171:
172:            public static Localizable localizableMODEL_IMPORTER_INVALID_ID(
173:                    Object arg0, Object arg1) {
174:                return messageFactory.getMessage("model.importer.invalidId",
175:                        arg0, arg1);
176:            }
177:
178:            /**
179:             * invalid id "{1} in model document (line {0})
180:             * 
181:             */
182:            public static String MODEL_IMPORTER_INVALID_ID(Object arg0,
183:                    Object arg1) {
184:                return localizer.localize(localizableMODEL_IMPORTER_INVALID_ID(
185:                        arg0, arg1));
186:            }
187:
188:            public static Localizable localizableMODEL_INVALID_MESSAGE_TYPE(
189:                    Object arg0) {
190:                return messageFactory.getMessage("model.invalid.message.type",
191:                        arg0);
192:            }
193:
194:            /**
195:             * invalid message type: {0}
196:             * 
197:             */
198:            public static String MODEL_INVALID_MESSAGE_TYPE(Object arg0) {
199:                return localizer
200:                        .localize(localizableMODEL_INVALID_MESSAGE_TYPE(arg0));
201:            }
202:
203:            public static Localizable localizableCONSOLE_ERROR_REPORTER_UNKNOWN_LOCATION() {
204:                return messageFactory
205:                        .getMessage("ConsoleErrorReporter.UnknownLocation");
206:            }
207:
208:            /**
209:             * unknown location
210:             * 
211:             */
212:            public static String CONSOLE_ERROR_REPORTER_UNKNOWN_LOCATION() {
213:                return localizer
214:                        .localize(localizableCONSOLE_ERROR_REPORTER_UNKNOWN_LOCATION());
215:            }
216:
217:            public static Localizable localizableMODEL_EXPORTER_UNSUPPORTED_CLASS(
218:                    Object arg0) {
219:                return messageFactory.getMessage(
220:                        "model.exporter.unsupportedClass", arg0);
221:            }
222:
223:            /**
224:             * model exporter: unsupported class: {0}
225:             * 
226:             */
227:            public static String MODEL_EXPORTER_UNSUPPORTED_CLASS(Object arg0) {
228:                return localizer
229:                        .localize(localizableMODEL_EXPORTER_UNSUPPORTED_CLASS(arg0));
230:            }
231:
232:            public static Localizable localizableMODEL_SCHEMA_ENCODER_NOT_FOUND(
233:                    Object arg0) {
234:                return messageFactory.getMessage(
235:                        "model.schema.encoderNotFound", arg0);
236:            }
237:
238:            /**
239:             * no encoder found for simpleType: "{0}"
240:             * 
241:             */
242:            public static String MODEL_SCHEMA_ENCODER_NOT_FOUND(Object arg0) {
243:                return localizer
244:                        .localize(localizableMODEL_SCHEMA_ENCODER_NOT_FOUND(arg0));
245:            }
246:
247:            public static Localizable localizableMODEL_SCHEMA_ELEMENT_NOT_FOUND(
248:                    Object arg0) {
249:                return messageFactory.getMessage(
250:                        "model.schema.elementNotFound", arg0);
251:            }
252:
253:            /**
254:             * Element "{0}" not found.
255:             * 
256:             */
257:            public static String MODEL_SCHEMA_ELEMENT_NOT_FOUND(Object arg0) {
258:                return localizer
259:                        .localize(localizableMODEL_SCHEMA_ELEMENT_NOT_FOUND(arg0));
260:            }
261:
262:            public static Localizable localizableMODEL_UNIQUENESS_JAVASTRUCTURETYPE(
263:                    Object arg0, Object arg1) {
264:                return messageFactory.getMessage(
265:                        "model.uniqueness.javastructuretype", arg0, arg1);
266:            }
267:
268:            /**
269:             * uniqueness constraint violation, duplicate member "{0}" added to JavaStructureType "{1}"
270:             * 
271:             */
272:            public static String MODEL_UNIQUENESS_JAVASTRUCTURETYPE(
273:                    Object arg0, Object arg1) {
274:                return localizer
275:                        .localize(localizableMODEL_UNIQUENESS_JAVASTRUCTURETYPE(
276:                                arg0, arg1));
277:            }
278:
279:            public static Localizable localizableMODEL_SAXPARSER_EXCEPTION(
280:                    Object arg0, Object arg1) {
281:                return messageFactory.getMessage("model.saxparser.exception",
282:                        arg0, arg1);
283:            }
284:
285:            /**
286:             * {0}
287:             * {1}
288:             * 
289:             */
290:            public static String MODEL_SAXPARSER_EXCEPTION(Object arg0,
291:                    Object arg1) {
292:                return localizer.localize(localizableMODEL_SAXPARSER_EXCEPTION(
293:                        arg0, arg1));
294:            }
295:
296:            public static Localizable localizableMODEL_DUPLICATE_FAULTMESSAGE(
297:                    Object arg0) {
298:                return messageFactory.getMessage(
299:                        "model.duplicate.faultmessage", arg0);
300:            }
301:
302:            /**
303:             * duplicate fault message added to model: {0}
304:             * 
305:             */
306:            public static String MODEL_DUPLICATE_FAULTMESSAGE(Object arg0) {
307:                return localizer
308:                        .localize(localizableMODEL_DUPLICATE_FAULTMESSAGE(arg0));
309:            }
310:
311:            public static Localizable localizableMODEL_IMPORTER_INVALID_PROPERTY(
312:                    Object arg0) {
313:                return messageFactory.getMessage(
314:                        "model.importer.invalidProperty", arg0);
315:            }
316:
317:            /**
318:             * invalid property in model document (line {0}
319:             * 
320:             */
321:            public static String MODEL_IMPORTER_INVALID_PROPERTY(Object arg0) {
322:                return localizer
323:                        .localize(localizableMODEL_IMPORTER_INVALID_PROPERTY(arg0));
324:            }
325:
326:            public static Localizable localizableMODEL_IMPORTER_SYNTAX_ERROR(
327:                    Object arg0) {
328:                return messageFactory.getMessage("model.importer.syntaxError",
329:                        arg0);
330:            }
331:
332:            /**
333:             * syntax error in model document (line {0})
334:             * 
335:             */
336:            public static String MODEL_IMPORTER_SYNTAX_ERROR(Object arg0) {
337:                return localizer
338:                        .localize(localizableMODEL_IMPORTER_SYNTAX_ERROR(arg0));
339:            }
340:
341:            public static Localizable localizableMODEL_SCHEMA_UNSUPPORTED_TYPE(
342:                    Object arg0, Object arg1, Object arg2) {
343:                return messageFactory.getMessage(
344:                        "model.schema.unsupportedType", arg0, arg1, arg2);
345:            }
346:
347:            /**
348:             * unsupported type ({0}): "{1}" (namespace: {2})
349:             * 
350:             */
351:            public static String MODEL_SCHEMA_UNSUPPORTED_TYPE(Object arg0,
352:                    Object arg1, Object arg2) {
353:                return localizer
354:                        .localize(localizableMODEL_SCHEMA_UNSUPPORTED_TYPE(
355:                                arg0, arg1, arg2));
356:            }
357:
358:            public static Localizable localizableMODEL_SCHEMA_INVALID_SIMPLE_TYPE_NO_JAVA_TYPE(
359:                    Object arg0) {
360:                return messageFactory.getMessage(
361:                        "model.schema.invalidSimpleType.noJavaType", arg0);
362:            }
363:
364:            /**
365:             * no java mapping for simpleType: "{0}"
366:             * 
367:             */
368:            public static String MODEL_SCHEMA_INVALID_SIMPLE_TYPE_NO_JAVA_TYPE(
369:                    Object arg0) {
370:                return localizer
371:                        .localize(localizableMODEL_SCHEMA_INVALID_SIMPLE_TYPE_NO_JAVA_TYPE(arg0));
372:            }
373:
374:            public static Localizable localizableMODEL_SCHEMA_LIST_NOT_SUPPORTED(
375:                    Object arg0) {
376:                return messageFactory.getMessage(
377:                        "model.schema.listNotSupported", arg0);
378:            }
379:
380:            /**
381:             * simpleType: "{0}" derivation by xsd:list not supported
382:             * 
383:             */
384:            public static String MODEL_SCHEMA_LIST_NOT_SUPPORTED(Object arg0) {
385:                return localizer
386:                        .localize(localizableMODEL_SCHEMA_LIST_NOT_SUPPORTED(arg0));
387:            }
388:
389:            public static Localizable localizableMODEL_ARRAYWRAPPER_NO_PARENT() {
390:                return messageFactory
391:                        .getMessage("model.arraywrapper.no.parent");
392:            }
393:
394:            /**
395:             * LiteralArrayWrapper cannot have a parent type
396:             * 
397:             */
398:            public static String MODEL_ARRAYWRAPPER_NO_PARENT() {
399:                return localizer
400:                        .localize(localizableMODEL_ARRAYWRAPPER_NO_PARENT());
401:            }
402:
403:            public static Localizable localizableMODEL_DUPLICATE_PART(
404:                    Object arg0) {
405:                return messageFactory.getMessage("model.duplicate.part", arg0);
406:            }
407:
408:            /**
409:             * duplicate part added to model: {0}
410:             * 
411:             */
412:            public static String MODEL_DUPLICATE_PART(Object arg0) {
413:                return localizer
414:                        .localize(localizableMODEL_DUPLICATE_PART(arg0));
415:            }
416:
417:            public static Localizable localizableMODEL_DUPLICATE_OPERATION(
418:                    Object arg0) {
419:                return messageFactory.getMessage("model.duplicate.operation",
420:                        arg0);
421:            }
422:
423:            /**
424:             * duplicate Operation added to model: {0}
425:             * 
426:             */
427:            public static String MODEL_DUPLICATE_OPERATION(Object arg0) {
428:                return localizer
429:                        .localize(localizableMODEL_DUPLICATE_OPERATION(arg0));
430:            }
431:
432:            public static Localizable localizableMODEL_PARENT_TYPE_ALREADY_SET(
433:                    Object arg0, Object arg1, Object arg2) {
434:                return messageFactory.getMessage(
435:                        "model.parent.type.already.set", arg0, arg1, arg2);
436:            }
437:
438:            /**
439:             * parent of type "{0}" already set to "{1}", new value = "{2}"
440:             * 
441:             */
442:            public static String MODEL_PARENT_TYPE_ALREADY_SET(Object arg0,
443:                    Object arg1, Object arg2) {
444:                return localizer
445:                        .localize(localizableMODEL_PARENT_TYPE_ALREADY_SET(
446:                                arg0, arg1, arg2));
447:            }
448:
449:            public static Localizable localizableMODEL_ARRAYWRAPPER_NO_SUBTYPES() {
450:                return messageFactory
451:                        .getMessage("model.arraywrapper.no.subtypes");
452:            }
453:
454:            /**
455:             * LiteralArrayWrapper cannot have subtypes
456:             * 
457:             */
458:            public static String MODEL_ARRAYWRAPPER_NO_SUBTYPES() {
459:                return localizer
460:                        .localize(localizableMODEL_ARRAYWRAPPER_NO_SUBTYPES());
461:            }
462:
463:            public static Localizable localizableMODEL_SCHEMA_INVALID_LITERAL_IN_ENUMERATION(
464:                    Object arg0, Object arg1, Object arg2) {
465:                return messageFactory.getMessage(
466:                        "model.schema.invalidLiteralInEnumeration", arg0, arg1,
467:                        arg2);
468:            }
469:
470:            /**
471:             * invalid literal "{0}" in enumeration "{1}" (namespace: {2})
472:             * 
473:             */
474:            public static String MODEL_SCHEMA_INVALID_LITERAL_IN_ENUMERATION(
475:                    Object arg0, Object arg1, Object arg2) {
476:                return localizer
477:                        .localize(localizableMODEL_SCHEMA_INVALID_LITERAL_IN_ENUMERATION(
478:                                arg0, arg1, arg2));
479:            }
480:
481:            public static Localizable localizableMODEL_SCHEMA_UNSUPPORTED_SCHEMA_TYPE(
482:                    Object arg0) {
483:                return messageFactory.getMessage(
484:                        "model.schema.unsupportedSchemaType", arg0);
485:            }
486:
487:            /**
488:             * unsupported schema type: "{0}"
489:             * 
490:             */
491:            public static String MODEL_SCHEMA_UNSUPPORTED_SCHEMA_TYPE(
492:                    Object arg0) {
493:                return localizer
494:                        .localize(localizableMODEL_SCHEMA_UNSUPPORTED_SCHEMA_TYPE(arg0));
495:            }
496:
497:            public static Localizable localizableMODEL_IMPORTER_INVALID_MINOR_MINOR_OR_PATCH_VERSION(
498:                    Object arg0, Object arg1, Object arg2) {
499:                return messageFactory.getMessage(
500:                        "model.importer.invalidMinorMinorOrPatchVersion", arg0,
501:                        arg1, arg2);
502:            }
503:
504:            /**
505:             * model version "{1}" newer than runtime version "{2}" (line {0}): need to upgrade to a newer runtime
506:             * 
507:             */
508:            public static String MODEL_IMPORTER_INVALID_MINOR_MINOR_OR_PATCH_VERSION(
509:                    Object arg0, Object arg1, Object arg2) {
510:                return localizer
511:                        .localize(localizableMODEL_IMPORTER_INVALID_MINOR_MINOR_OR_PATCH_VERSION(
512:                                arg0, arg1, arg2));
513:            }
514:
515:            public static Localizable localizableMODEL_SCHEMA_CIRCULARITY(
516:                    Object arg0) {
517:                return messageFactory.getMessage("model.schema.circularity",
518:                        arg0);
519:            }
520:
521:            /**
522:             * circularity detected in schema: "{0}"
523:             * 
524:             */
525:            public static String MODEL_SCHEMA_CIRCULARITY(Object arg0) {
526:                return localizer
527:                        .localize(localizableMODEL_SCHEMA_CIRCULARITY(arg0));
528:            }
529:
530:            public static Localizable localizableMODEL_SCHEMA_NOT_IMPLEMENTED_GENERATING_SOAP_ELEMENT(
531:                    Object arg0, Object arg1) {
532:                return messageFactory.getMessage(
533:                        "model.schema.notImplemented.generatingSOAPElement",
534:                        arg0, arg1);
535:            }
536:
537:            /**
538:             * unsupported XML Schema feature: "{0}" in component {1}, mapping it to javax.xml.soap.SOAPElement
539:             * 
540:             */
541:            public static String MODEL_SCHEMA_NOT_IMPLEMENTED_GENERATING_SOAP_ELEMENT(
542:                    Object arg0, Object arg1) {
543:                return localizer
544:                        .localize(localizableMODEL_SCHEMA_NOT_IMPLEMENTED_GENERATING_SOAP_ELEMENT(
545:                                arg0, arg1));
546:            }
547:
548:            public static Localizable localizableMODEL_ARRAYWRAPPER_MEMBER_ALREADY_SET() {
549:                return messageFactory
550:                        .getMessage("model.arraywrapper.member.already.set");
551:            }
552:
553:            /**
554:             * LiteralArrayWrapper element member already set.
555:             * 
556:             */
557:            public static String MODEL_ARRAYWRAPPER_MEMBER_ALREADY_SET() {
558:                return localizer
559:                        .localize(localizableMODEL_ARRAYWRAPPER_MEMBER_ALREADY_SET());
560:            }
561:
562:            public static Localizable localizableMODEL_IMPORTER_INVALID_CLASS(
563:                    Object arg0, Object arg1) {
564:                return messageFactory.getMessage("model.importer.invalidClass",
565:                        arg0, arg1);
566:            }
567:
568:            /**
569:             * invalid class name "{1}" in model document (line {0})
570:             * 
571:             */
572:            public static String MODEL_IMPORTER_INVALID_CLASS(Object arg0,
573:                    Object arg1) {
574:                return localizer
575:                        .localize(localizableMODEL_IMPORTER_INVALID_CLASS(arg0,
576:                                arg1));
577:            }
578:
579:            public static Localizable localizableMODEL_IMPORTER_NON_MODEL() {
580:                return messageFactory.getMessage("model.importer.nonModel");
581:            }
582:
583:            /**
584:             * not a valid model document
585:             * 
586:             */
587:            public static String MODEL_IMPORTER_NON_MODEL() {
588:                return localizer
589:                        .localize(localizableMODEL_IMPORTER_NON_MODEL());
590:            }
591:
592:            public static Localizable localizableMODEL_IMPORTER_INVALID_VERSION(
593:                    Object arg0, Object arg1) {
594:                return messageFactory.getMessage(
595:                        "model.importer.invalidVersion", arg0, arg1);
596:            }
597:
598:            /**
599:             * invalid version "{1}" in model document (line {0})
600:             * 
601:             */
602:            public static String MODEL_IMPORTER_INVALID_VERSION(Object arg0,
603:                    Object arg1) {
604:                return localizer
605:                        .localize(localizableMODEL_IMPORTER_INVALID_VERSION(
606:                                arg0, arg1));
607:            }
608:
609:            public static Localizable localizableMODEL_SCHEMA_INVALID_SIMPLE_TYPE_NO_NAMESPACE_URI(
610:                    Object arg0) {
611:                return messageFactory.getMessage(
612:                        "model.schema.invalidSimpleType.noNamespaceURI", arg0);
613:            }
614:
615:            /**
616:             * invalid simpleType: "{0}", had null namespaceURI
617:             * 
618:             */
619:            public static String MODEL_SCHEMA_INVALID_SIMPLE_TYPE_NO_NAMESPACE_URI(
620:                    Object arg0) {
621:                return localizer
622:                        .localize(localizableMODEL_SCHEMA_INVALID_SIMPLE_TYPE_NO_NAMESPACE_URI(arg0));
623:            }
624:
625:            public static Localizable localizableCONSOLE_ERROR_REPORTER_LINE_X_OF_Y(
626:                    Object arg0, Object arg1) {
627:                return messageFactory.getMessage(
628:                        "ConsoleErrorReporter.LineXOfY", arg0, arg1);
629:            }
630:
631:            /**
632:             *   line {0} of {1}
633:             * 
634:             */
635:            public static String CONSOLE_ERROR_REPORTER_LINE_X_OF_Y(
636:                    Object arg0, Object arg1) {
637:                return localizer
638:                        .localize(localizableCONSOLE_ERROR_REPORTER_LINE_X_OF_Y(
639:                                arg0, arg1));
640:            }
641:
642:            public static Localizable localizableMODEL_PARAMETER_NOTUNIQUE(
643:                    Object arg0, Object arg1) {
644:                return messageFactory.getMessage("model.parameter.notunique",
645:                        arg0, arg1);
646:            }
647:
648:            /**
649:             * Failed to generate Java signature: duplicate parameter name "{0}". Try one of these
650:             * 	1. Use JAXWS binding customization to rename the wsdl:part "{1}"
651:             * 	2. Run wsimport with -extension switch.
652:             * 
653:             */
654:            public static String MODEL_PARAMETER_NOTUNIQUE(Object arg0,
655:                    Object arg1) {
656:                return localizer.localize(localizableMODEL_PARAMETER_NOTUNIQUE(
657:                        arg0, arg1));
658:            }
659:
660:            public static Localizable localizableMODEL_SCHEMA_INVALID_SIMPLE_TYPE_INVALID_ITEM_TYPE(
661:                    Object arg0, Object arg1) {
662:                return messageFactory.getMessage(
663:                        "model.schema.invalidSimpleType.invalidItemType", arg0,
664:                        arg1);
665:            }
666:
667:            /**
668:             * in simpleType: "{0}", itemType "{1}" can not be derived by list
669:             * 
670:             */
671:            public static String MODEL_SCHEMA_INVALID_SIMPLE_TYPE_INVALID_ITEM_TYPE(
672:                    Object arg0, Object arg1) {
673:                return localizer
674:                        .localize(localizableMODEL_SCHEMA_INVALID_SIMPLE_TYPE_INVALID_ITEM_TYPE(
675:                                arg0, arg1));
676:            }
677:
678:            public static Localizable localizableMODEL_DUPLICATE_PROPERTY(
679:                    Object arg0) {
680:                return messageFactory.getMessage("model.duplicate.property",
681:                        arg0);
682:            }
683:
684:            /**
685:             * duplicate property added to model: {0}
686:             * 
687:             */
688:            public static String MODEL_DUPLICATE_PROPERTY(Object arg0) {
689:                return localizer
690:                        .localize(localizableMODEL_DUPLICATE_PROPERTY(arg0));
691:            }
692:
693:            public static Localizable localizableMODEL_UNIQUENESS() {
694:                return messageFactory.getMessage("model.uniqueness");
695:            }
696:
697:            /**
698:             * uniqueness constraint violation
699:             * 
700:             */
701:            public static String MODEL_UNIQUENESS() {
702:                return localizer.localize(localizableMODEL_UNIQUENESS());
703:            }
704:
705:            public static Localizable localizable_002F_002F_REPLACEMENT() {
706:                return messageFactory.getMessage("//replacement");
707:            }
708:
709:            /**
710:             * for Uxxx codes
711:             * 
712:             */
713:            public static String _002F_002F_REPLACEMENT() {
714:                return localizer.localize(localizable_002F_002F_REPLACEMENT());
715:            }
716:
717:            public static Localizable localizableMODEL_SCHEMA_INVALID_SIMPLE_TYPE_NO_ITEM_LITERAL_TYPE(
718:                    Object arg0, Object arg1) {
719:                return messageFactory.getMessage(
720:                        "model.schema.invalidSimpleType.noItemLiteralType",
721:                        arg0, arg1);
722:            }
723:
724:            /**
725:             * in simpleType: "{0}", xsd:list itemType "{1}" is invalid
726:             * 
727:             */
728:            public static String MODEL_SCHEMA_INVALID_SIMPLE_TYPE_NO_ITEM_LITERAL_TYPE(
729:                    Object arg0, Object arg1) {
730:                return localizer
731:                        .localize(localizableMODEL_SCHEMA_INVALID_SIMPLE_TYPE_NO_ITEM_LITERAL_TYPE(
732:                                arg0, arg1));
733:            }
734:
735:            public static Localizable localizableMODEL_SCHEMA_INVALID_SIMPLE_TYPE(
736:                    Object arg0) {
737:                return messageFactory.getMessage(
738:                        "model.schema.invalidSimpleType", arg0);
739:            }
740:
741:            /**
742:             * invalid simpleType: "{0}"
743:             * 
744:             */
745:            public static String MODEL_SCHEMA_INVALID_SIMPLE_TYPE(Object arg0) {
746:                return localizer
747:                        .localize(localizableMODEL_SCHEMA_INVALID_SIMPLE_TYPE(arg0));
748:            }
749:
750:            public static Localizable localizableMODEL_ARRAYWRAPPER_ONLY_ONE_MEMBER() {
751:                return messageFactory
752:                        .getMessage("model.arraywrapper.only.one.member");
753:            }
754:
755:            /**
756:             * LiteralArrayWrapper may only have one element member.
757:             * 
758:             */
759:            public static String MODEL_ARRAYWRAPPER_ONLY_ONE_MEMBER() {
760:                return localizer
761:                        .localize(localizableMODEL_ARRAYWRAPPER_ONLY_ONE_MEMBER());
762:            }
763:
764:            public static Localizable localizableMODEL_IMPORTER_INVALID_LITERAL(
765:                    Object arg0) {
766:                return messageFactory.getMessage(
767:                        "model.importer.invalidLiteral", arg0);
768:            }
769:
770:            /**
771:             * invalid literal value in model document (line {0})
772:             * 
773:             */
774:            public static String MODEL_IMPORTER_INVALID_LITERAL(Object arg0) {
775:                return localizer
776:                        .localize(localizableMODEL_IMPORTER_INVALID_LITERAL(arg0));
777:            }
778:
779:            public static Localizable localizableMODEL_PARAMETER_NOTUNIQUE_WRAPPER(
780:                    Object arg0, Object arg1) {
781:                return messageFactory.getMessage(
782:                        "model.parameter.notunique.wrapper", arg0, arg1);
783:            }
784:
785:            /**
786:             * Failed to generate Java signature: duplicate parameter name "{0}". Try one of these
787:             * 	1. Use JAXWS binding customization to rename the wsdl:part "{1}"
788:             * 	2. Run wsimport with -extension switch.
789:             * 	3. This is wrapper style operation, to resolve parameter name conflict, you can also try disabling wrapper style by using <jaxws:enableWrapperStyle>false</jaxws:enableWrapperStyle> wsdl customization.
790:             * 
791:             */
792:            public static String MODEL_PARAMETER_NOTUNIQUE_WRAPPER(Object arg0,
793:                    Object arg1) {
794:                return localizer
795:                        .localize(localizableMODEL_PARAMETER_NOTUNIQUE_WRAPPER(
796:                                arg0, arg1));
797:            }
798:
799:            public static Localizable localizableMODEL_SCHEMA_NOT_IMPLEMENTED(
800:                    Object arg0) {
801:                return messageFactory.getMessage("model.schema.notImplemented",
802:                        arg0);
803:            }
804:
805:            /**
806:             * unsupported XML Schema feature ({0})
807:             * 
808:             */
809:            public static String MODEL_SCHEMA_NOT_IMPLEMENTED(Object arg0) {
810:                return localizer
811:                        .localize(localizableMODEL_SCHEMA_NOT_IMPLEMENTED(arg0));
812:            }
813:
814:            public static Localizable localizableMODEL_SCHEMA_INVALID_LITERAL_IN_ENUMERATION_ANONYMOUS(
815:                    Object arg0) {
816:                return messageFactory.getMessage(
817:                        "model.schema.invalidLiteralInEnumeration.anonymous",
818:                        arg0);
819:            }
820:
821:            /**
822:             * invalid literal "{0}" in anonymous enumeration
823:             * 
824:             */
825:            public static String MODEL_SCHEMA_INVALID_LITERAL_IN_ENUMERATION_ANONYMOUS(
826:                    Object arg0) {
827:                return localizer
828:                        .localize(localizableMODEL_SCHEMA_INVALID_LITERAL_IN_ENUMERATION_ANONYMOUS(arg0));
829:            }
830:
831:            public static Localizable localizableMODEL_ARRAYWRAPPER_NO_CONTENT_MEMBER() {
832:                return messageFactory
833:                        .getMessage("model.arraywrapper.no.content.member");
834:            }
835:
836:            /**
837:             * LiteralArrayWrapper cannot have a content member
838:             * 
839:             */
840:            public static String MODEL_ARRAYWRAPPER_NO_CONTENT_MEMBER() {
841:                return localizer
842:                        .localize(localizableMODEL_ARRAYWRAPPER_NO_CONTENT_MEMBER());
843:            }
844:
845:            public static Localizable localizableMODEL_PART_NOT_UNIQUE(
846:                    Object arg0, Object arg1) {
847:                return messageFactory.getMessage("model.part.notUnique", arg0,
848:                        arg1);
849:            }
850:
851:            /**
852:             * parts in wsdl:message "{0}", reference "{1}", they must reference unique global elements.
853:             * 
854:             */
855:            public static String MODEL_PART_NOT_UNIQUE(Object arg0, Object arg1) {
856:                return localizer.localize(localizableMODEL_PART_NOT_UNIQUE(
857:                        arg0, arg1));
858:            }
859:
860:            public static Localizable localizableMODEL_PARENT_FAULT_ALREADY_SET(
861:                    Object arg0, Object arg1, Object arg2) {
862:                return messageFactory.getMessage(
863:                        "model.parent.fault.already.set", arg0, arg1, arg2);
864:            }
865:
866:            /**
867:             * parent of fault "{0}" already set to "{1}", new value = "{2}"
868:             * 
869:             */
870:            public static String MODEL_PARENT_FAULT_ALREADY_SET(Object arg0,
871:                    Object arg1, Object arg2) {
872:                return localizer
873:                        .localize(localizableMODEL_PARENT_FAULT_ALREADY_SET(
874:                                arg0, arg1, arg2));
875:            }
876:
877:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.