01: package com.sun.xml.wss.logging.saml;
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.saml.LogStrings");
15: private final static Localizer localizer = new Localizer();
16:
17: public static Localizable localizableWSS_001_SAML_ASSERTION_NOT_FOUND(
18: Object arg0) {
19: return messageFactory.getMessage(
20: "WSS001.SAML_ASSERTION_NOT_FOUND", arg0);
21: }
22:
23: /**
24: * WSS_SAML001: No SAML Assertion found with AssertionID: {0}
25: *
26: */
27: public static String WSS_001_SAML_ASSERTION_NOT_FOUND(Object arg0) {
28: return localizer
29: .localize(localizableWSS_001_SAML_ASSERTION_NOT_FOUND(arg0));
30: }
31:
32: public static Localizable localizableWSS_003_FAILEDTO_MARSHAL() {
33: return messageFactory.getMessage("WSS003.failedto.marshal");
34: }
35:
36: /**
37: * WSS003: Exception occured while trying to Marshal
38: *
39: */
40: public static String WSS_003_FAILEDTO_MARSHAL() {
41: return localizer
42: .localize(localizableWSS_003_FAILEDTO_MARSHAL());
43: }
44:
45: public static Localizable localizableWSS_002_FAILED_CREATE_DOCUMENT() {
46: return messageFactory
47: .getMessage("WSS002.failed.create.document");
48: }
49:
50: /**
51: * WSS002: Unable to create Document
52: *
53: */
54: public static String WSS_002_FAILED_CREATE_DOCUMENT() {
55: return localizer
56: .localize(localizableWSS_002_FAILED_CREATE_DOCUMENT());
57: }
58:
59: }
|