src/share/jaxws_classes/com/sun/tools/internal/ws/resources/WebserviceapMessages.java

Print this page


   1 /*
   2  * Copyright (c) 1997, 2010, 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 
  27 package com.sun.tools.internal.ws.resources;
  28 
  29 import com.sun.xml.internal.ws.util.localization.Localizable;
  30 import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory;
  31 import com.sun.xml.internal.ws.util.localization.Localizer;
  32 
  33 
  34 /**
  35  * Defines string formatting method for each constant in the resource file
  36  *
  37  */
  38 public final class WebserviceapMessages {
  39 
  40     private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.tools.internal.ws.resources.webserviceap");
  41     private final static Localizer localizer = new Localizer();
  42 
  43     public static Localizable localizableWEBSERVICEAP_ENDPOINTINTERFACES_DO_NOT_MATCH(Object arg0, Object arg1) {
  44         return messageFactory.getMessage("webserviceap.endpointinterfaces.do.not.match", arg0, arg1);
  45     }
  46 
  47     /**
  48      * The endpoint interface {0} does not match the interface {1}.
  49      *
  50      */
  51     public static String WEBSERVICEAP_ENDPOINTINTERFACES_DO_NOT_MATCH(Object arg0, Object arg1) {


 681     }
 682 
 683     /**
 684      * The endpointInterface class {0} could not be found
 685      *
 686      */
 687     public static String WEBSERVICEAP_ENDPOINTINTERFACE_CLASS_NOT_FOUND(Object arg0) {
 688         return localizer.localize(localizableWEBSERVICEAP_ENDPOINTINTERFACE_CLASS_NOT_FOUND(arg0));
 689     }
 690 
 691     public static Localizable localizableWEBSERVICEAP_METHOD_NOT_IMPLEMENTED(Object arg0, Object arg1, Object arg2) {
 692         return messageFactory.getMessage("webserviceap.method.not.implemented", arg0, arg1, arg2);
 693     }
 694 
 695     /**
 696      * Methods in an endpointInterface must be implemented in the implementation class.  Interface Class:{0} Implementation Class:{1} Method: {2}
 697      *
 698      */
 699     public static String WEBSERVICEAP_METHOD_NOT_IMPLEMENTED(Object arg0, Object arg1, Object arg2) {
 700         return localizer.localize(localizableWEBSERVICEAP_METHOD_NOT_IMPLEMENTED(arg0, arg1, arg2));












 701     }
 702 
 703     public static Localizable localizableWEBSERVICE_ENCODED_NOT_SUPPORTED(Object arg0, Object arg1) {
 704         return messageFactory.getMessage("webservice.encoded.not.supported", arg0, arg1);
 705     }
 706 
 707     /**
 708      * The {0} class has invalid SOAPBinding annotation. {1}/encoded SOAPBinding is not supported
 709      *
 710      */
 711     public static String WEBSERVICE_ENCODED_NOT_SUPPORTED(Object arg0, Object arg1) {
 712         return localizer.localize(localizableWEBSERVICE_ENCODED_NOT_SUPPORTED(arg0, arg1));
 713     }
 714 
 715     public static Localizable localizableWEBSERVICEAP_HANDLERCLASS_NOTSPECIFIED(Object arg0) {
 716         return messageFactory.getMessage("webserviceap.handlerclass.notspecified", arg0);
 717     }
 718 
 719     /**
 720      * A handler in the HandlerChain file: {0} does not specify a handler-class


   1 /*
   2  * Copyright (c) 1997, 2012, 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.tools.internal.ws.resources;
  27 
  28 import com.sun.istack.internal.localization.Localizable;
  29 import com.sun.istack.internal.localization.LocalizableMessageFactory;
  30 import com.sun.istack.internal.localization.Localizer;
  31 
  32 
  33 /**
  34  * Defines string formatting method for each constant in the resource file
  35  *
  36  */
  37 public final class WebserviceapMessages {
  38 
  39     private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.tools.internal.ws.resources.webserviceap");
  40     private final static Localizer localizer = new Localizer();
  41 
  42     public static Localizable localizableWEBSERVICEAP_ENDPOINTINTERFACES_DO_NOT_MATCH(Object arg0, Object arg1) {
  43         return messageFactory.getMessage("webserviceap.endpointinterfaces.do.not.match", arg0, arg1);
  44     }
  45 
  46     /**
  47      * The endpoint interface {0} does not match the interface {1}.
  48      *
  49      */
  50     public static String WEBSERVICEAP_ENDPOINTINTERFACES_DO_NOT_MATCH(Object arg0, Object arg1) {


 680     }
 681 
 682     /**
 683      * The endpointInterface class {0} could not be found
 684      *
 685      */
 686     public static String WEBSERVICEAP_ENDPOINTINTERFACE_CLASS_NOT_FOUND(Object arg0) {
 687         return localizer.localize(localizableWEBSERVICEAP_ENDPOINTINTERFACE_CLASS_NOT_FOUND(arg0));
 688     }
 689 
 690     public static Localizable localizableWEBSERVICEAP_METHOD_NOT_IMPLEMENTED(Object arg0, Object arg1, Object arg2) {
 691         return messageFactory.getMessage("webserviceap.method.not.implemented", arg0, arg1, arg2);
 692     }
 693 
 694     /**
 695      * Methods in an endpointInterface must be implemented in the implementation class.  Interface Class:{0} Implementation Class:{1} Method: {2}
 696      *
 697      */
 698     public static String WEBSERVICEAP_METHOD_NOT_IMPLEMENTED(Object arg0, Object arg1, Object arg2) {
 699         return localizer.localize(localizableWEBSERVICEAP_METHOD_NOT_IMPLEMENTED(arg0, arg1, arg2));
 700     }
 701 
 702     public static Localizable localizableWEBSERVICEAP_PARSING_JAVAC_OPTIONS_ERROR() {
 703         return messageFactory.getMessage("webserviceap.parsing.javac.options.error");
 704     }
 705 
 706     /**
 707      * Can't get javac options from processingEnv.
 708      *
 709      */
 710     public static String WEBSERVICEAP_PARSING_JAVAC_OPTIONS_ERROR() {
 711         return localizer.localize(localizableWEBSERVICEAP_PARSING_JAVAC_OPTIONS_ERROR());
 712     }
 713 
 714     public static Localizable localizableWEBSERVICE_ENCODED_NOT_SUPPORTED(Object arg0, Object arg1) {
 715         return messageFactory.getMessage("webservice.encoded.not.supported", arg0, arg1);
 716     }
 717 
 718     /**
 719      * The {0} class has invalid SOAPBinding annotation. {1}/encoded SOAPBinding is not supported
 720      *
 721      */
 722     public static String WEBSERVICE_ENCODED_NOT_SUPPORTED(Object arg0, Object arg1) {
 723         return localizer.localize(localizableWEBSERVICE_ENCODED_NOT_SUPPORTED(arg0, arg1));
 724     }
 725 
 726     public static Localizable localizableWEBSERVICEAP_HANDLERCLASS_NOTSPECIFIED(Object arg0) {
 727         return messageFactory.getMessage("webserviceap.handlerclass.notspecified", arg0);
 728     }
 729 
 730     /**
 731      * A handler in the HandlerChain file: {0} does not specify a handler-class