Source Code Cross Referenced for StreamingMessages.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 StreamingMessages {
012:
013:            private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory(
014:                    "com.sun.xml.ws.resources.streaming");
015:            private final static Localizer localizer = new Localizer();
016:
017:            public static Localizable localizableFASTINFOSET_DECODING_NOT_ACCEPTED() {
018:                return messageFactory
019:                        .getMessage("fastinfoset.decodingNotAccepted");
020:            }
021:
022:            /**
023:             * Fast Infoset decoding is not accepted
024:             * 
025:             */
026:            public static String FASTINFOSET_DECODING_NOT_ACCEPTED() {
027:                return localizer
028:                        .localize(localizableFASTINFOSET_DECODING_NOT_ACCEPTED());
029:            }
030:
031:            public static Localizable localizableSTAX_CANT_CREATE() {
032:                return messageFactory.getMessage("stax.cantCreate");
033:            }
034:
035:            /**
036:             * Unable to create StAX reader or writer
037:             * 
038:             */
039:            public static String STAX_CANT_CREATE() {
040:                return localizer.localize(localizableSTAX_CANT_CREATE());
041:            }
042:
043:            public static Localizable localizableSTREAMING_IO_EXCEPTION(
044:                    Object arg0) {
045:                return messageFactory.getMessage("streaming.ioException", arg0);
046:            }
047:
048:            /**
049:             * XML parsing error: {0}
050:             * 
051:             */
052:            public static String STREAMING_IO_EXCEPTION(Object arg0) {
053:                return localizer
054:                        .localize(localizableSTREAMING_IO_EXCEPTION(arg0));
055:            }
056:
057:            public static Localizable localizableSOURCEREADER_INVALID_SOURCE(
058:                    Object arg0) {
059:                return messageFactory.getMessage("sourcereader.invalidSource",
060:                        arg0);
061:            }
062:
063:            /**
064:             * Unable to create reader from source "{0}"
065:             * 
066:             */
067:            public static String SOURCEREADER_INVALID_SOURCE(Object arg0) {
068:                return localizer
069:                        .localize(localizableSOURCEREADER_INVALID_SOURCE(arg0));
070:            }
071:
072:            public static Localizable localizableXMLREADER_UNEXPECTED_STATE(
073:                    Object arg0, Object arg1) {
074:                return messageFactory.getMessage("xmlreader.unexpectedState",
075:                        arg0, arg1);
076:            }
077:
078:            /**
079:             * unexpected XML reader state. expected: {0} but found: {1}
080:             * 
081:             */
082:            public static String XMLREADER_UNEXPECTED_STATE(Object arg0,
083:                    Object arg1) {
084:                return localizer
085:                        .localize(localizableXMLREADER_UNEXPECTED_STATE(arg0,
086:                                arg1));
087:            }
088:
089:            public static Localizable localizableXMLREADER_IO_EXCEPTION(
090:                    Object arg0) {
091:                return messageFactory.getMessage("xmlreader.ioException", arg0);
092:            }
093:
094:            /**
095:             * XML reader error: {0}
096:             * 
097:             */
098:            public static String XMLREADER_IO_EXCEPTION(Object arg0) {
099:                return localizer
100:                        .localize(localizableXMLREADER_IO_EXCEPTION(arg0));
101:            }
102:
103:            public static Localizable localizableFASTINFOSET_NO_IMPLEMENTATION() {
104:                return messageFactory
105:                        .getMessage("fastinfoset.noImplementation");
106:            }
107:
108:            /**
109:             * Unable to locate compatible implementation of Fast Infoset in classpath
110:             * 
111:             */
112:            public static String FASTINFOSET_NO_IMPLEMENTATION() {
113:                return localizer
114:                        .localize(localizableFASTINFOSET_NO_IMPLEMENTATION());
115:            }
116:
117:            public static Localizable localizableXMLWRITER_IO_EXCEPTION(
118:                    Object arg0) {
119:                return messageFactory.getMessage("xmlwriter.ioException", arg0);
120:            }
121:
122:            /**
123:             * XML writer error: {0}
124:             * 
125:             */
126:            public static String XMLWRITER_IO_EXCEPTION(Object arg0) {
127:                return localizer
128:                        .localize(localizableXMLWRITER_IO_EXCEPTION(arg0));
129:            }
130:
131:            public static Localizable localizableXMLREADER_UNEXPECTED_CHARACTER_CONTENT(
132:                    Object arg0) {
133:                return messageFactory.getMessage(
134:                        "xmlreader.unexpectedCharacterContent", arg0);
135:            }
136:
137:            /**
138:             * XML reader error: unexpected character content: "{0}"
139:             * 
140:             */
141:            public static String XMLREADER_UNEXPECTED_CHARACTER_CONTENT(
142:                    Object arg0) {
143:                return localizer
144:                        .localize(localizableXMLREADER_UNEXPECTED_CHARACTER_CONTENT(arg0));
145:            }
146:
147:            public static Localizable localizableSTREAMING_PARSE_EXCEPTION(
148:                    Object arg0) {
149:                return messageFactory.getMessage("streaming.parseException",
150:                        arg0);
151:            }
152:
153:            /**
154:             * XML parsing error: {0}
155:             * 
156:             */
157:            public static String STREAMING_PARSE_EXCEPTION(Object arg0) {
158:                return localizer
159:                        .localize(localizableSTREAMING_PARSE_EXCEPTION(arg0));
160:            }
161:
162:            public static Localizable localizableXMLWRITER_NO_PREFIX_FOR_URI(
163:                    Object arg0) {
164:                return messageFactory.getMessage("xmlwriter.noPrefixForURI",
165:                        arg0);
166:            }
167:
168:            /**
169:             * XML writer error: no prefix for URI: "{0}"
170:             * 
171:             */
172:            public static String XMLWRITER_NO_PREFIX_FOR_URI(Object arg0) {
173:                return localizer
174:                        .localize(localizableXMLWRITER_NO_PREFIX_FOR_URI(arg0));
175:            }
176:
177:            public static Localizable localizableXMLREADER_NESTED_ERROR(
178:                    Object arg0) {
179:                return messageFactory.getMessage("xmlreader.nestedError", arg0);
180:            }
181:
182:            /**
183:             * XML reader error: {0}
184:             * 
185:             */
186:            public static String XMLREADER_NESTED_ERROR(Object arg0) {
187:                return localizer
188:                        .localize(localizableXMLREADER_NESTED_ERROR(arg0));
189:            }
190:
191:            public static Localizable localizableSTAXREADER_XMLSTREAMEXCEPTION(
192:                    Object arg0) {
193:                return messageFactory.getMessage(
194:                        "staxreader.xmlstreamexception", arg0);
195:            }
196:
197:            /**
198:             * XML stream reader exception: {0}
199:             * 
200:             */
201:            public static String STAXREADER_XMLSTREAMEXCEPTION(Object arg0) {
202:                return localizer
203:                        .localize(localizableSTAXREADER_XMLSTREAMEXCEPTION(arg0));
204:            }
205:
206:            public static Localizable localizableXMLWRITER_NESTED_ERROR(
207:                    Object arg0) {
208:                return messageFactory.getMessage("xmlwriter.nestedError", arg0);
209:            }
210:
211:            /**
212:             * XML writer error: {0}
213:             * 
214:             */
215:            public static String XMLWRITER_NESTED_ERROR(Object arg0) {
216:                return localizer
217:                        .localize(localizableXMLWRITER_NESTED_ERROR(arg0));
218:            }
219:
220:            public static Localizable localizableXMLREADER_ILLEGAL_STATE_ENCOUNTERED(
221:                    Object arg0) {
222:                return messageFactory.getMessage(
223:                        "xmlreader.illegalStateEncountered", arg0);
224:            }
225:
226:            /**
227:             * XML reader internal error: illegal state ({0})
228:             * 
229:             */
230:            public static String XMLREADER_ILLEGAL_STATE_ENCOUNTERED(Object arg0) {
231:                return localizer
232:                        .localize(localizableXMLREADER_ILLEGAL_STATE_ENCOUNTERED(arg0));
233:            }
234:
235:            public static Localizable localizableXMLREADER_UNEXPECTED_STATE_TAG(
236:                    Object arg0, Object arg1) {
237:                return messageFactory.getMessage(
238:                        "xmlreader.unexpectedState.tag", arg0, arg1);
239:            }
240:
241:            /**
242:             * unexpected XML tag. expected: {0} but found: {1}
243:             * 
244:             */
245:            public static String XMLREADER_UNEXPECTED_STATE_TAG(Object arg0,
246:                    Object arg1) {
247:                return localizer
248:                        .localize(localizableXMLREADER_UNEXPECTED_STATE_TAG(
249:                                arg0, arg1));
250:            }
251:
252:            public static Localizable localizableXMLREADER_UNEXPECTED_STATE_MESSAGE(
253:                    Object arg0, Object arg1, Object arg2) {
254:                return messageFactory.getMessage(
255:                        "xmlreader.unexpectedState.message", arg0, arg1, arg2);
256:            }
257:
258:            /**
259:             * unexpected XML reader state. expected: {0} but found: {1}. {2}
260:             * 
261:             */
262:            public static String XMLREADER_UNEXPECTED_STATE_MESSAGE(
263:                    Object arg0, Object arg1, Object arg2) {
264:                return localizer
265:                        .localize(localizableXMLREADER_UNEXPECTED_STATE_MESSAGE(
266:                                arg0, arg1, arg2));
267:            }
268:
269:            public static Localizable localizableXMLREADER_PARSE_EXCEPTION(
270:                    Object arg0) {
271:                return messageFactory.getMessage("xmlreader.parseException",
272:                        arg0);
273:            }
274:
275:            /**
276:             * XML parsing error: {0}
277:             * 
278:             */
279:            public static String XMLREADER_PARSE_EXCEPTION(Object arg0) {
280:                return localizer
281:                        .localize(localizableXMLREADER_PARSE_EXCEPTION(arg0));
282:            }
283:
284:            public static Localizable localizableXMLRECORDER_RECORDING_ENDED() {
285:                return messageFactory.getMessage("xmlrecorder.recording.ended");
286:            }
287:
288:            /**
289:             * no more recorded elements available
290:             * 
291:             */
292:            public static String XMLRECORDER_RECORDING_ENDED() {
293:                return localizer
294:                        .localize(localizableXMLRECORDER_RECORDING_ENDED());
295:            }
296:
297:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.