1 /*
   2  * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package com.sun.xml.internal.ws.resources;
  27 
  28 import java.util.Locale;
  29 import java.util.ResourceBundle;
  30 import javax.annotation.Generated;
  31 import com.sun.istack.internal.localization.Localizable;
  32 import com.sun.istack.internal.localization.LocalizableMessageFactory;
  33 import com.sun.istack.internal.localization.LocalizableMessageFactory.ResourceBundleSupplier;
  34 import com.sun.istack.internal.localization.Localizer;
  35 



  36 
  37 /**
  38  * Defines string formatting method for each constant in the resource file
  39  *
  40  */
  41 @Generated("com.sun.istack.internal.maven.ResourceGenMojo")
  42 public final class PolicyMessages {
  43 
  44     private final static String BUNDLE_NAME = "com.sun.xml.internal.ws.resources.policy";
  45     private final static LocalizableMessageFactory MESSAGE_FACTORY = new LocalizableMessageFactory(BUNDLE_NAME, new PolicyMessages.BundleSupplier());
  46     private final static Localizer LOCALIZER = new Localizer();

  47 
  48     public static Localizable localizableWSP_1013_EXCEPTION_WHEN_READING_POLICY_ELEMENT(Object arg0) {
  49         return MESSAGE_FACTORY.getMessage("WSP_1013_EXCEPTION_WHEN_READING_POLICY_ELEMENT", arg0);
  50     }
  51 
  52     /**
  53      * WSP1013: Exception occurred while reading policy element. Following was read so far: {0}.
  54      *
  55      */
  56     public static String WSP_1013_EXCEPTION_WHEN_READING_POLICY_ELEMENT(Object arg0) {
  57         return LOCALIZER.localize(localizableWSP_1013_EXCEPTION_WHEN_READING_POLICY_ELEMENT(arg0));
  58     }
  59 
  60     public static Localizable localizableWSP_1001_XML_EXCEPTION_WHEN_PROCESSING_POLICY_REFERENCE() {
  61         return MESSAGE_FACTORY.getMessage("WSP_1001_XML_EXCEPTION_WHEN_PROCESSING_POLICY_REFERENCE");
  62     }
  63 
  64     /**
  65      * WSP1001: XMLStreamException occurred when reading policy reference element.
  66      *
  67      */
  68     public static String WSP_1001_XML_EXCEPTION_WHEN_PROCESSING_POLICY_REFERENCE() {
  69         return LOCALIZER.localize(localizableWSP_1001_XML_EXCEPTION_WHEN_PROCESSING_POLICY_REFERENCE());
  70     }
  71 
  72     public static Localizable localizableWSP_1014_CAN_NOT_FIND_POLICY(Object arg0) {
  73         return MESSAGE_FACTORY.getMessage("WSP_1014_CAN_NOT_FIND_POLICY", arg0);
  74     }
  75 
  76     /**
  77      * WSP1014: Can not find policy "{0}" that is referenced in from the WSDL. Please, check your policy references in the WSDL.
  78      *
  79      */
  80     public static String WSP_1014_CAN_NOT_FIND_POLICY(Object arg0) {
  81         return LOCALIZER.localize(localizableWSP_1014_CAN_NOT_FIND_POLICY(arg0));
  82     }
  83 
  84     public static Localizable localizableWSP_1009_NOT_MARSHALLING_ANY_POLICIES_POLICY_MAP_IS_NULL() {
  85         return MESSAGE_FACTORY.getMessage("WSP_1009_NOT_MARSHALLING_ANY_POLICIES_POLICY_MAP_IS_NULL");
  86     }
  87 
  88     /**
  89      * WSP1009: Policy map was null, not marshalling any policies.
  90      *
  91      */
  92     public static String WSP_1009_NOT_MARSHALLING_ANY_POLICIES_POLICY_MAP_IS_NULL() {
  93         return LOCALIZER.localize(localizableWSP_1009_NOT_MARSHALLING_ANY_POLICIES_POLICY_MAP_IS_NULL());
  94     }
  95 
  96     public static Localizable localizableWSP_1011_FAILED_TO_RETRIEVE_EFFECTIVE_POLICY_FOR_SUBJECT(Object arg0) {
  97         return MESSAGE_FACTORY.getMessage("WSP_1011_FAILED_TO_RETRIEVE_EFFECTIVE_POLICY_FOR_SUBJECT", arg0);
  98     }
  99 
 100     /**
 101      * WSP1011: Failed to retrieve effective policy for subject: {0}.
 102      *
 103      */
 104     public static String WSP_1011_FAILED_TO_RETRIEVE_EFFECTIVE_POLICY_FOR_SUBJECT(Object arg0) {
 105         return LOCALIZER.localize(localizableWSP_1011_FAILED_TO_RETRIEVE_EFFECTIVE_POLICY_FOR_SUBJECT(arg0));
 106     }
 107 
 108     public static Localizable localizableWSP_1016_POLICY_ID_NULL_OR_DUPLICATE(Object arg0) {
 109         return MESSAGE_FACTORY.getMessage("WSP_1016_POLICY_ID_NULL_OR_DUPLICATE", arg0);
 110     }
 111 
 112     /**
 113      * WSP1016: The policy is not added because it has no ID or a policy with the same ID was already added: {0}.
 114      *
 115      */
 116     public static String WSP_1016_POLICY_ID_NULL_OR_DUPLICATE(Object arg0) {
 117         return LOCALIZER.localize(localizableWSP_1016_POLICY_ID_NULL_OR_DUPLICATE(arg0));
 118     }
 119 
 120     public static Localizable localizableWSP_1021_FAULT_NOT_BOUND(Object arg0) {
 121         return MESSAGE_FACTORY.getMessage("WSP_1021_FAULT_NOT_BOUND", arg0);
 122     }
 123 
 124     /**
 125      * WSP1021: Fault "{0}" not bound. Check names in port and binding definitions.
 126      *
 127      */
 128     public static String WSP_1021_FAULT_NOT_BOUND(Object arg0) {
 129         return LOCALIZER.localize(localizableWSP_1021_FAULT_NOT_BOUND(arg0));
 130     }
 131 
 132     public static Localizable localizableWSP_1003_UNABLE_TO_CHECK_ELEMENT_NAME(Object arg0, Object arg1) {
 133         return MESSAGE_FACTORY.getMessage("WSP_1003_UNABLE_TO_CHECK_ELEMENT_NAME", arg0, arg1);
 134     }
 135 
 136     /**
 137      * WSP1003: Unable to check element name for class "{0}" and WSDL name "{1}".
 138      *
 139      */
 140     public static String WSP_1003_UNABLE_TO_CHECK_ELEMENT_NAME(Object arg0, Object arg1) {
 141         return LOCALIZER.localize(localizableWSP_1003_UNABLE_TO_CHECK_ELEMENT_NAME(arg0, arg1));
 142     }
 143 
 144     public static Localizable localizableWSP_1019_CREATE_EMPTY_POLICY_MAP() {
 145         return MESSAGE_FACTORY.getMessage("WSP_1019_CREATE_EMPTY_POLICY_MAP");
 146     }
 147 
 148     /**
 149      * WSP1019: Failed to find any configuration file. Creating new empty policy map.
 150      *
 151      */
 152     public static String WSP_1019_CREATE_EMPTY_POLICY_MAP() {
 153         return LOCALIZER.localize(localizableWSP_1019_CREATE_EMPTY_POLICY_MAP());
 154     }
 155 
 156     public static Localizable localizableWSP_1020_DUPLICATE_ID(Object arg0) {
 157         return MESSAGE_FACTORY.getMessage("WSP_1020_DUPLICATE_ID", arg0);
 158     }
 159 
 160     /**
 161      * WSP1020: Found two policies in one document with the same id: "{0}".
 162      *
 163      */
 164     public static String WSP_1020_DUPLICATE_ID(Object arg0) {
 165         return LOCALIZER.localize(localizableWSP_1020_DUPLICATE_ID(arg0));
 166     }
 167 
 168     public static Localizable localizableWSP_1002_UNABLE_TO_MARSHALL_POLICY_OR_POLICY_REFERENCE() {
 169         return MESSAGE_FACTORY.getMessage("WSP_1002_UNABLE_TO_MARSHALL_POLICY_OR_POLICY_REFERENCE");
 170     }
 171 
 172     /**
 173      * WSP1002: Unable to marshall policy or it's reference. See original exception for more details.
 174      *
 175      */
 176     public static String WSP_1002_UNABLE_TO_MARSHALL_POLICY_OR_POLICY_REFERENCE() {
 177         return LOCALIZER.localize(localizableWSP_1002_UNABLE_TO_MARSHALL_POLICY_OR_POLICY_REFERENCE());
 178     }
 179 
 180     public static Localizable localizableWSP_1008_NOT_MARSHALLING_WSDL_SUBJ_NULL(Object arg0) {
 181         return MESSAGE_FACTORY.getMessage("WSP_1008_NOT_MARSHALLING_WSDL_SUBJ_NULL", arg0);
 182     }
 183 
 184     /**
 185      * WSP1008: Not marshalling policy, wsdl subject is null for "{0}".
 186      *
 187      */
 188     public static String WSP_1008_NOT_MARSHALLING_WSDL_SUBJ_NULL(Object arg0) {
 189         return LOCALIZER.localize(localizableWSP_1008_NOT_MARSHALLING_WSDL_SUBJ_NULL(arg0));
 190     }
 191 
 192     public static Localizable localizableWSP_1017_MAP_UPDATE_FAILED() {
 193         return MESSAGE_FACTORY.getMessage("WSP_1017_MAP_UPDATE_FAILED");
 194     }
 195 
 196     /**
 197      * WSP1048: Policy map setup failed - exception occurred while trying to modify policy map content.
 198      *
 199      */
 200     public static String WSP_1017_MAP_UPDATE_FAILED() {
 201         return LOCALIZER.localize(localizableWSP_1017_MAP_UPDATE_FAILED());
 202     }
 203 
 204     public static Localizable localizableWSP_1018_FAILED_TO_MARSHALL_POLICY(Object arg0) {
 205         return MESSAGE_FACTORY.getMessage("WSP_1018_FAILED_TO_MARSHALL_POLICY", arg0);
 206     }
 207 
 208     /**
 209      * WSP1018: Failed to marshal policy "{0}".
 210      *
 211      */
 212     public static String WSP_1018_FAILED_TO_MARSHALL_POLICY(Object arg0) {
 213         return LOCALIZER.localize(localizableWSP_1018_FAILED_TO_MARSHALL_POLICY(arg0));
 214     }
 215 
 216     public static Localizable localizableWSP_1004_POLICY_URIS_CAN_NOT_BE_NULL() {
 217         return MESSAGE_FACTORY.getMessage("WSP_1004_POLICY_URIS_CAN_NOT_BE_NULL");
 218     }
 219 
 220     /**
 221      * WSP1004: Policy URIs can not be null.
 222      *
 223      */
 224     public static String WSP_1004_POLICY_URIS_CAN_NOT_BE_NULL() {
 225         return LOCALIZER.localize(localizableWSP_1004_POLICY_URIS_CAN_NOT_BE_NULL());
 226     }
 227 
 228     public static Localizable localizableWSP_1010_NO_POLICIES_DEFINED() {
 229         return MESSAGE_FACTORY.getMessage("WSP_1010_NO_POLICIES_DEFINED");
 230     }
 231 
 232     /**
 233      * WSP1010: No policies defined.
 234      *
 235      */
 236     public static String WSP_1010_NO_POLICIES_DEFINED() {
 237         return LOCALIZER.localize(localizableWSP_1010_NO_POLICIES_DEFINED());
 238     }
 239 
 240     public static Localizable localizableWSP_1012_FAILED_CONFIGURE_WSDL_MODEL() {
 241         return MESSAGE_FACTORY.getMessage("WSP_1012_FAILED_CONFIGURE_WSDL_MODEL");
 242     }
 243 
 244     /**
 245      * WSP1012: Failed to configure wsdl model.
 246      *
 247      */
 248     public static String WSP_1012_FAILED_CONFIGURE_WSDL_MODEL() {
 249         return LOCALIZER.localize(localizableWSP_1012_FAILED_CONFIGURE_WSDL_MODEL());
 250     }
 251 
 252     public static Localizable localizableWSP_1015_SERVER_SIDE_ASSERTION_VALIDATION_FAILED(Object arg0, Object arg1) {
 253         return MESSAGE_FACTORY.getMessage("WSP_1015_SERVER_SIDE_ASSERTION_VALIDATION_FAILED", arg0, arg1);
 254     }
 255 
 256     /**
 257      * WSP1015: Server side assertion validation failed for "{0}" assertion. Assertion was evaluated as "{1}".
 258      *
 259      */
 260     public static String WSP_1015_SERVER_SIDE_ASSERTION_VALIDATION_FAILED(Object arg0, Object arg1) {
 261         return LOCALIZER.localize(localizableWSP_1015_SERVER_SIDE_ASSERTION_VALIDATION_FAILED(arg0, arg1));
 262     }
 263 
 264     public static Localizable localizableWSP_1005_POLICY_REFERENCE_DOES_NOT_EXIST(Object arg0) {
 265         return MESSAGE_FACTORY.getMessage("WSP_1005_POLICY_REFERENCE_DOES_NOT_EXIST", arg0);
 266     }
 267 
 268     /**
 269      * WSP1005: Failed to find policy referenced by URI "{0}".
 270      *
 271      */
 272     public static String WSP_1005_POLICY_REFERENCE_DOES_NOT_EXIST(Object arg0) {
 273         return LOCALIZER.localize(localizableWSP_1005_POLICY_REFERENCE_DOES_NOT_EXIST(arg0));
 274     }
 275 
 276     public static Localizable localizableWSP_1006_POLICY_MAP_EXTENDER_CAN_NOT_BE_NULL() {
 277         return MESSAGE_FACTORY.getMessage("WSP_1006_POLICY_MAP_EXTENDER_CAN_NOT_BE_NULL");
 278     }
 279 
 280     /**
 281      * WSP1006: Policy map extender can not be null.
 282      *
 283      */
 284     public static String WSP_1006_POLICY_MAP_EXTENDER_CAN_NOT_BE_NULL() {
 285         return LOCALIZER.localize(localizableWSP_1006_POLICY_MAP_EXTENDER_CAN_NOT_BE_NULL());
 286     }
 287 
 288     public static Localizable localizableWSP_1007_POLICY_EXCEPTION_WHILE_FINISHING_PARSING_WSDL() {
 289         return MESSAGE_FACTORY.getMessage("WSP_1007_POLICY_EXCEPTION_WHILE_FINISHING_PARSING_WSDL");
 290     }
 291 
 292     /**
 293      * WSP1007: Policy exception occurred when finishing WSDL parsing.
 294      *
 295      */
 296     public static String WSP_1007_POLICY_EXCEPTION_WHILE_FINISHING_PARSING_WSDL() {
 297         return LOCALIZER.localize(localizableWSP_1007_POLICY_EXCEPTION_WHILE_FINISHING_PARSING_WSDL());
 298     }
 299 
 300     private static class BundleSupplier
 301         implements ResourceBundleSupplier
 302     {
 303 
 304 
 305         public ResourceBundle getResourceBundle(Locale locale) {
 306             return ResourceBundle.getBundle(BUNDLE_NAME, locale);
 307         }
 308 






 309     }
 310 
 311 }
--- EOF ---