Source Code Cross Referenced for ProviderApiMessages.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 ProviderApiMessages {
012:
013:            private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory(
014:                    "com.sun.xml.ws.resources.providerApi");
015:            private final static Localizer localizer = new Localizer();
016:
017:            public static Localizable localizableNULL_ADDRESS_SERVICE_ENDPOINT() {
018:                return messageFactory
019:                        .getMessage("null.address.service.endpoint");
020:            }
021:
022:            /**
023:             * Address in an EPR cannot be null, when serviceName or portName is null
024:             * 
025:             */
026:            public static String NULL_ADDRESS_SERVICE_ENDPOINT() {
027:                return localizer
028:                        .localize(localizableNULL_ADDRESS_SERVICE_ENDPOINT());
029:            }
030:
031:            public static Localizable localizableNULL_SERVICE() {
032:                return messageFactory.getMessage("null.service");
033:            }
034:
035:            /**
036:             * serviceName can't be null when portName is specified
037:             * 
038:             */
039:            public static String NULL_SERVICE() {
040:                return localizer.localize(localizableNULL_SERVICE());
041:            }
042:
043:            public static Localizable localizableNULL_ADDRESS() {
044:                return messageFactory.getMessage("null.address");
045:            }
046:
047:            /**
048:             * Address in an EPR cannot be null
049:             * 
050:             */
051:            public static String NULL_ADDRESS() {
052:                return localizer.localize(localizableNULL_ADDRESS());
053:            }
054:
055:            public static Localizable localizableNULL_PORTNAME() {
056:                return messageFactory.getMessage("null.portname");
057:            }
058:
059:            /**
060:             * EPR does n't have EndpointName in the Metadata
061:             * 
062:             */
063:            public static String NULL_PORTNAME() {
064:                return localizer.localize(localizableNULL_PORTNAME());
065:            }
066:
067:            public static Localizable localizableNOTFOUND_SERVICE_IN_WSDL(
068:                    Object arg0, Object arg1) {
069:                return messageFactory.getMessage("notfound.service.in.wsdl",
070:                        arg0, arg1);
071:            }
072:
073:            /**
074:             * Service: {0} not found in WSDL: {1}
075:             * 
076:             */
077:            public static String NOTFOUND_SERVICE_IN_WSDL(Object arg0,
078:                    Object arg1) {
079:                return localizer.localize(localizableNOTFOUND_SERVICE_IN_WSDL(
080:                        arg0, arg1));
081:            }
082:
083:            public static Localizable localizableNULL_EPR() {
084:                return messageFactory.getMessage("null.epr");
085:            }
086:
087:            /**
088:             * EndpointReference is null
089:             * 
090:             */
091:            public static String NULL_EPR() {
092:                return localizer.localize(localizableNULL_EPR());
093:            }
094:
095:            public static Localizable localizableNULL_WSDL() {
096:                return messageFactory.getMessage("null.wsdl");
097:            }
098:
099:            /**
100:             * EPR does n't have WSDL Metadata which is needed for the current operation
101:             * 
102:             */
103:            public static String NULL_WSDL() {
104:                return localizer.localize(localizableNULL_WSDL());
105:            }
106:
107:            public static Localizable localizableNOTFOUND_PORT_IN_WSDL(
108:                    Object arg0, Object arg1, Object arg2) {
109:                return messageFactory.getMessage("notfound.port.in.wsdl", arg0,
110:                        arg1, arg2);
111:            }
112:
113:            /**
114:             * Port: {0} not a valid port in Service: {1} in WSDL: {2}
115:             * 
116:             */
117:            public static String NOTFOUND_PORT_IN_WSDL(Object arg0,
118:                    Object arg1, Object arg2) {
119:                return localizer.localize(localizableNOTFOUND_PORT_IN_WSDL(
120:                        arg0, arg1, arg2));
121:            }
122:
123:            public static Localizable localizableERROR_WSDL(Object arg0) {
124:                return messageFactory.getMessage("error.wsdl", arg0);
125:            }
126:
127:            /**
128:             * Error in parsing WSDL: {0}
129:             * 
130:             */
131:            public static String ERROR_WSDL(Object arg0) {
132:                return localizer.localize(localizableERROR_WSDL(arg0));
133:            }
134:
135:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.