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


001:        package com.sun.xml.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 EncodingMessages {
012:
013:            private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory(
014:                    "com.sun.xml.ws.resources.encoding");
015:            private final static Localizer localizer = new Localizer();
016:
017:            public static Localizable localizableFAILED_TO_READ_RESPONSE(
018:                    Object arg0) {
019:                return messageFactory.getMessage("failed.to.read.response",
020:                        arg0);
021:            }
022:
023:            /**
024:             * Failed to read a response: {0}
025:             * 
026:             */
027:            public static String FAILED_TO_READ_RESPONSE(Object arg0) {
028:                return localizer
029:                        .localize(localizableFAILED_TO_READ_RESPONSE(arg0));
030:            }
031:
032:            public static Localizable localizableEXCEPTION_INCORRECT_TYPE(
033:                    Object arg0) {
034:                return messageFactory.getMessage("exception.incorrectType",
035:                        arg0);
036:            }
037:
038:            /**
039:             * incorrect type. Expected java.lang.Exception, found {0}
040:             * 
041:             */
042:            public static String EXCEPTION_INCORRECT_TYPE(Object arg0) {
043:                return localizer
044:                        .localize(localizableEXCEPTION_INCORRECT_TYPE(arg0));
045:            }
046:
047:            public static Localizable localizableEXCEPTION_NOTFOUND(Object arg0) {
048:                return messageFactory.getMessage("exception.notfound", arg0);
049:            }
050:
051:            /**
052:             * exception class: {0} not found in the model!
053:             * 
054:             */
055:            public static String EXCEPTION_NOTFOUND(Object arg0) {
056:                return localizer.localize(localizableEXCEPTION_NOTFOUND(arg0));
057:            }
058:
059:            public static Localizable localizableXSD_UNEXPECTED_ELEMENT_NAME(
060:                    Object arg0, Object arg1) {
061:                return messageFactory.getMessage("xsd.unexpectedElementName",
062:                        arg0, arg1);
063:            }
064:
065:            /**
066:             * unexpected element name: expected={0}, actual: {1}
067:             * 
068:             */
069:            public static String XSD_UNEXPECTED_ELEMENT_NAME(Object arg0,
070:                    Object arg1) {
071:                return localizer
072:                        .localize(localizableXSD_UNEXPECTED_ELEMENT_NAME(arg0,
073:                                arg1));
074:            }
075:
076:            public static Localizable localizableNESTED_DESERIALIZATION_ERROR(
077:                    Object arg0) {
078:                return messageFactory.getMessage("nestedDeserializationError",
079:                        arg0);
080:            }
081:
082:            /**
083:             * deserialization error: {0}
084:             * 
085:             */
086:            public static String NESTED_DESERIALIZATION_ERROR(Object arg0) {
087:                return localizer
088:                        .localize(localizableNESTED_DESERIALIZATION_ERROR(arg0));
089:            }
090:
091:            public static Localizable localizableXSD_UNKNOWN_PREFIX(Object arg0) {
092:                return messageFactory.getMessage("xsd.unknownPrefix", arg0);
093:            }
094:
095:            /**
096:             * unknown prefix "{0}"
097:             * 
098:             */
099:            public static String XSD_UNKNOWN_PREFIX(Object arg0) {
100:                return localizer.localize(localizableXSD_UNKNOWN_PREFIX(arg0));
101:            }
102:
103:            public static Localizable localizableNESTED_ENCODING_ERROR(
104:                    Object arg0) {
105:                return messageFactory.getMessage("nestedEncodingError", arg0);
106:            }
107:
108:            /**
109:             * encoding error: {0}
110:             * 
111:             */
112:            public static String NESTED_ENCODING_ERROR(Object arg0) {
113:                return localizer
114:                        .localize(localizableNESTED_ENCODING_ERROR(arg0));
115:            }
116:
117:            public static Localizable localizableUNKNOWN_OBJECT() {
118:                return messageFactory.getMessage("unknown.object");
119:            }
120:
121:            /**
122:             * don't know how to write object: {0}
123:             * 
124:             */
125:            public static String UNKNOWN_OBJECT() {
126:                return localizer.localize(localizableUNKNOWN_OBJECT());
127:            }
128:
129:            public static Localizable localizableINCORRECT_MESSAGEINFO() {
130:                return messageFactory.getMessage("incorrect.messageinfo");
131:            }
132:
133:            /**
134:             * can't write object! unexpected type: {0}
135:             * 
136:             */
137:            public static String INCORRECT_MESSAGEINFO() {
138:                return localizer.localize(localizableINCORRECT_MESSAGEINFO());
139:            }
140:
141:            public static Localizable localizableNESTED_SERIALIZATION_ERROR(
142:                    Object arg0) {
143:                return messageFactory.getMessage("nestedSerializationError",
144:                        arg0);
145:            }
146:
147:            /**
148:             * serialization error: {0}
149:             * 
150:             */
151:            public static String NESTED_SERIALIZATION_ERROR(Object arg0) {
152:                return localizer
153:                        .localize(localizableNESTED_SERIALIZATION_ERROR(arg0));
154:            }
155:
156:            public static Localizable localizableNO_SUCH_CONTENT_ID(Object arg0) {
157:                return messageFactory.getMessage("noSuchContentId", arg0);
158:            }
159:
160:            /**
161:             * There''s no attachment for the content ID "{0}"
162:             * 
163:             */
164:            public static String NO_SUCH_CONTENT_ID(Object arg0) {
165:                return localizer.localize(localizableNO_SUCH_CONTENT_ID(arg0));
166:            }
167:
168:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.