1 19 package org.netbeans.modules.websvc.jaxrpc.project; 20 21 import java.util.HashMap ; 22 import java.util.Map ; 23 import org.openide.util.NbBundle; 24 25 30 public class WsCompileFeatures { 31 32 static Map <String , String > featuresMap = null; 33 34 private WsCompileFeatures() { 35 } 36 37 public static Map <String , String > getFeaturesMap(){ 38 if(featuresMap == null){ 39 featuresMap = new HashMap <String , String >(); 40 featuresMap.put("datahandleronly", NbBundle.getMessage(WsCompileFeatures.class, "DESC_DATAHANDLERONLY")); 41 featuresMap.put("documentliteral", NbBundle.getMessage(WsCompileFeatures.class, "DESC_DOCUMENTLITERAL")); 42 featuresMap.put("rpcliteral", NbBundle.getMessage(WsCompileFeatures.class, "DESC_RPCLITERAL")); 43 featuresMap.put("explicitcontext", NbBundle.getMessage(WsCompileFeatures.class, "DESC_EXPLICITCONTEXT")); 44 featuresMap.put("jaxbenumtype", NbBundle.getMessage(WsCompileFeatures.class, "DESC_JAXBENUMTYPE")); 45 featuresMap.put("nodatabinding", NbBundle.getMessage(WsCompileFeatures.class, "DESC_NODATABINDING")); 46 featuresMap.put("noencodedtypes", NbBundle.getMessage(WsCompileFeatures.class, "DESC_NOENCODEDTYPES")); 47 featuresMap.put("nomultirefs" , NbBundle.getMessage(WsCompileFeatures.class, "DESC_NOMULTIREFS")); 48 featuresMap.put("norpcstructures", NbBundle.getMessage(WsCompileFeatures.class, "DESC_NORPCSTRUCTURES")); 49 featuresMap.put("novalidation", NbBundle.getMessage(WsCompileFeatures.class, "DESC_NOVALIDATION")); 50 featuresMap.put("resolveidref", NbBundle.getMessage(WsCompileFeatures.class, "DESC_RESOLVEIDREF")); 51 featuresMap.put("searchschema", NbBundle.getMessage(WsCompileFeatures.class, "DESC_SEARCHSCHEMA")); 52 featuresMap.put("serializeinterfaces", NbBundle.getMessage(WsCompileFeatures.class, "DESC_SERIALIZEINTERFACES")); 53 featuresMap.put("strict", NbBundle.getMessage(WsCompileFeatures.class, "DESC_STRICT")); 54 featuresMap.put("useonewayoperations", NbBundle.getMessage(WsCompileFeatures.class, "DESC_USEONEWAYOPERATIONS")); 55 featuresMap.put("wsi", NbBundle.getMessage(WsCompileFeatures.class, "DESC_WSI")); 56 featuresMap.put("unwrap", NbBundle.getMessage(WsCompileFeatures.class, "DESC_UNWRAP")); 57 featuresMap.put("donotoverride", NbBundle.getMessage(WsCompileFeatures.class, "DESC_DONOTOVERRIDE")); 58 featuresMap.put("donotunwrap", NbBundle.getMessage(WsCompileFeatures.class, "DESC_DONOTUNWRAP")); 59 } 60 return featuresMap; 61 } 62 } 63 | Popular Tags |