01: package com.sun.xml.wss.logging.impl.c14n;
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 LogStringsMessages {
12:
13: private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory(
14: "com.sun.xml.wss.logging.impl.c14n.LogStrings");
15: private final static Localizer localizer = new Localizer();
16:
17: public static Localizable localizableWSS_1002_ERROR_CANONICALIZING_TEXTPLAIN(
18: Object arg0) {
19: return messageFactory.getMessage(
20: "WSS1002.error.canonicalizing.textplain", arg0);
21: }
22:
23: /**
24: * WSS1002: Error {0} while canonicalizing Text/Plain attachment
25: *
26: */
27: public static String WSS_1002_ERROR_CANONICALIZING_TEXTPLAIN(
28: Object arg0) {
29: return localizer
30: .localize(localizableWSS_1002_ERROR_CANONICALIZING_TEXTPLAIN(arg0));
31: }
32:
33: public static Localizable localizableWSS_1000_ERROR_CANONICALIZING(
34: Object arg0) {
35: return messageFactory.getMessage(
36: "WSS1000.error.canonicalizing", arg0);
37: }
38:
39: /**
40: * WSS1000: Error {0} while canonicalizing MIME attachment
41: *
42: */
43: public static String WSS_1000_ERROR_CANONICALIZING(Object arg0) {
44: return localizer
45: .localize(localizableWSS_1000_ERROR_CANONICALIZING(arg0));
46: }
47:
48: public static Localizable localizableWSS_1001_ERROR_CANONICALIZING_IMAGE(
49: Object arg0) {
50: return messageFactory.getMessage(
51: "WSS1001.error.canonicalizing.image", arg0);
52: }
53:
54: /**
55: * WSS1001: Error {0} while canonicalizing Image attachment
56: *
57: */
58: public static String WSS_1001_ERROR_CANONICALIZING_IMAGE(Object arg0) {
59: return localizer
60: .localize(localizableWSS_1001_ERROR_CANONICALIZING_IMAGE(arg0));
61: }
62:
63: }
|