01: package com.sun.xml.ws.resources;
02:
03: import com.sun.xml.ws.util.localization.Localizable;
04: import com.sun.xml.ws.util.localization.LocalizableMessageFactory;
05: import com.sun.xml.ws.util.localization.Localizer;
06:
07: /**
08: * Defines string formatting method for each constant in the resource file
09: *
10: */
11: public final class WsdlmodelMessages {
12:
13: private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory(
14: "com.sun.xml.ws.resources.wsdlmodel");
15: private final static Localizer localizer = new Localizer();
16:
17: public static Localizable localizableWSDL_PORTADDRESS_EPRADDRESS_NOT_MATCH(
18: Object arg0, Object arg1, Object arg2) {
19: return messageFactory.getMessage(
20: "wsdl.portaddress.epraddress.not.match", arg0, arg1,
21: arg2);
22: }
23:
24: /**
25: * For Port: {0}, service location {1} does not match address {2} in the EndpointReference
26: *
27: */
28: public static String WSDL_PORTADDRESS_EPRADDRESS_NOT_MATCH(
29: Object arg0, Object arg1, Object arg2) {
30: return localizer
31: .localize(localizableWSDL_PORTADDRESS_EPRADDRESS_NOT_MATCH(
32: arg0, arg1, arg2));
33: }
34:
35: public static Localizable localizableWSDL_IMPORT_SHOULD_BE_WSDL(
36: Object arg0) {
37: return messageFactory.getMessage("wsdl.import.should.be.wsdl",
38: arg0);
39: }
40:
41: /**
42: * Import of {0} is violation of BP 1.1 R2001. Proceeding with a warning.
43: * R2001 A DESCRIPTION MUST only use the WSDL "import" statement to import another WSDL description.
44: *
45: */
46: public static String WSDL_IMPORT_SHOULD_BE_WSDL(Object arg0) {
47: return localizer
48: .localize(localizableWSDL_IMPORT_SHOULD_BE_WSDL(arg0));
49: }
50:
51: public static Localizable localizableMEX_METADATA_SYSTEMID_NULL() {
52: return messageFactory.getMessage("Mex.metadata.systemid.null");
53: }
54:
55: /**
56: * Mex WSDL metadata can not be parsed, the systemId is of the MEX source is null.
57: *
58: */
59: public static String MEX_METADATA_SYSTEMID_NULL() {
60: return localizer
61: .localize(localizableMEX_METADATA_SYSTEMID_NULL());
62: }
63:
64: }
|