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 ProcessorMessages {
12:
13: private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory(
14: "com.sun.tools.ws.resources.processor");
15: private final static Localizer localizer = new Localizer();
16:
17: public static Localizable localizablePROCESSOR_MISSING_MODEL() {
18: return messageFactory.getMessage("processor.missing.model");
19: }
20:
21: /**
22: * model is missing
23: *
24: */
25: public static String PROCESSOR_MISSING_MODEL() {
26: return localizer.localize(localizablePROCESSOR_MISSING_MODEL());
27: }
28:
29: }
|