01: package com.sun.tools.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 ConfigurationMessages {
12:
13: private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory(
14: "com.sun.tools.ws.resources.configuration");
15: private final static Localizer localizer = new Localizer();
16:
17: public static Localizable localizableCONFIGURATION_INVALID_ELEMENT(
18: Object arg0, Object arg1, Object arg2) {
19: return messageFactory.getMessage(
20: "configuration.invalidElement", arg0, arg1, arg2);
21: }
22:
23: /**
24: * invalid element "{2}" in file "{0}" (line {1})
25: *
26: */
27: public static String CONFIGURATION_INVALID_ELEMENT(Object arg0,
28: Object arg1, Object arg2) {
29: return localizer
30: .localize(localizableCONFIGURATION_INVALID_ELEMENT(
31: arg0, arg1, arg2));
32: }
33:
34: public static Localizable localizableCONFIGURATION_NOT_BINDING_FILE(
35: Object arg0) {
36: return messageFactory.getMessage(
37: "configuration.notBindingFile", arg0);
38: }
39:
40: /**
41: * Ignoring: binding file ""{0}". It is not a jaxws or a jaxb binding file.
42: *
43: */
44: public static String CONFIGURATION_NOT_BINDING_FILE(Object arg0) {
45: return localizer
46: .localize(localizableCONFIGURATION_NOT_BINDING_FILE(arg0));
47: }
48:
49: }
|