jaxws/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/resources/WscompileMessages.java
changeset 27837 86d4f46e622a
parent 25871 b80b84e87032
child 38822 8cc53e29c1d9
equal deleted inserted replaced
27581:9fffb959eb41 27837:86d4f46e622a
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     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
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   279      *   -Xnocompile                do not compile generated Java files
   279      *   -Xnocompile                do not compile generated Java files
   280      *
   280      *
   281      */
   281      */
   282     public static String WSGEN_USAGE_EXTENSIONS() {
   282     public static String WSGEN_USAGE_EXTENSIONS() {
   283         return localizer.localize(localizableWSGEN_USAGE_EXTENSIONS());
   283         return localizer.localize(localizableWSGEN_USAGE_EXTENSIONS());
   284     }
       
   285 
       
   286     public static Localizable localizablePLEASE() {
       
   287         return messageFactory.getMessage("Please");
       
   288     }
       
   289 
       
   290     /**
       
   291      * specify "-extension" and "-wsdl:protocol XSoap1.2" switches. For example:
       
   292      *
       
   293      *
       
   294      *
       
   295      */
       
   296     public static String PLEASE() {
       
   297         return localizer.localize(localizablePLEASE());
       
   298     }
   284     }
   299 
   285 
   300     public static Localizable localizableWSCOMPILE_EXISTING_OPTION(Object arg0) {
   286     public static Localizable localizableWSCOMPILE_EXISTING_OPTION(Object arg0) {
   301         return messageFactory.getMessage("wscompile.existingOption", arg0);
   287         return messageFactory.getMessage("wscompile.existingOption", arg0);
   302     }
   288     }
   383      */
   369      */
   384     public static String WSIMPORT_HELP(Object arg0) {
   370     public static String WSIMPORT_HELP(Object arg0) {
   385         return localizer.localize(localizableWSIMPORT_HELP(arg0));
   371         return localizer.localize(localizableWSIMPORT_HELP(arg0));
   386     }
   372     }
   387 
   373 
       
   374     public static Localizable localizableWSCOMPILE_CANT_GET_COMPILER(Object arg0, Object arg1, Object arg2) {
       
   375         return messageFactory.getMessage("wscompile.cant.get.compiler", arg0, arg1, arg2);
       
   376     }
       
   377 
       
   378     /**
       
   379      * No Java compiler found. Perhaps environment/JDK problem?
       
   380      *  Used JVM: {0}, {1}/{2}
       
   381      *
       
   382      */
       
   383     public static String WSCOMPILE_CANT_GET_COMPILER(Object arg0, Object arg1, Object arg2) {
       
   384         return localizer.localize(localizableWSCOMPILE_CANT_GET_COMPILER(arg0, arg1, arg2));
       
   385     }
       
   386 
   388     public static Localizable localizableWSCOMPILE_ERROR(Object arg0) {
   387     public static Localizable localizableWSCOMPILE_ERROR(Object arg0) {
   389         return messageFactory.getMessage("wscompile.error", arg0);
   388         return messageFactory.getMessage("wscompile.error", arg0);
   390     }
   389     }
   391 
   390 
   392     /**
   391     /**
   555      */
   554      */
   556     public static String WSIMPORT_GENERATING_CODE() {
   555     public static String WSIMPORT_GENERATING_CODE() {
   557         return localizer.localize(localizableWSIMPORT_GENERATING_CODE());
   556         return localizer.localize(localizableWSIMPORT_GENERATING_CODE());
   558     }
   557     }
   559 
   558 
   560     public static Localizable localizableWSGEN() {
       
   561         return messageFactory.getMessage("wsgen");
       
   562     }
       
   563 
       
   564     /**
       
   565      * -wsdl:protocol XSoap1.2 -extenson {1}
       
   566      *
       
   567      */
       
   568     public static String WSGEN() {
       
   569         return localizer.localize(localizableWSGEN());
       
   570     }
       
   571 
       
   572     public static Localizable localizableWSIMPORT_NOT_A_FILE_NOR_URL(Object arg0) {
   559     public static Localizable localizableWSIMPORT_NOT_A_FILE_NOR_URL(Object arg0) {
   573         return messageFactory.getMessage("wsimport.NotAFileNorURL", arg0);
   560         return messageFactory.getMessage("wsimport.NotAFileNorURL", arg0);
   574     }
   561     }
   575 
   562 
   576     /**
   563     /**
   656     public static Localizable localizableWSGEN_COULD_NOT_CREATE_FILE(Object arg0) {
   643     public static Localizable localizableWSGEN_COULD_NOT_CREATE_FILE(Object arg0) {
   657         return messageFactory.getMessage("wsgen.could.not.create.file", arg0);
   644         return messageFactory.getMessage("wsgen.could.not.create.file", arg0);
   658     }
   645     }
   659 
   646 
   660     /**
   647     /**
   661      * "Could not create file: "{0}"
   648      * Could not create file: "{0}"
   662      *
   649      *
   663      */
   650      */
   664     public static String WSGEN_COULD_NOT_CREATE_FILE(Object arg0) {
   651     public static String WSGEN_COULD_NOT_CREATE_FILE(Object arg0) {
   665         return localizer.localize(localizableWSGEN_COULD_NOT_CREATE_FILE(arg0));
   652         return localizer.localize(localizableWSGEN_COULD_NOT_CREATE_FILE(arg0));
   666     }
   653     }
   846     public static Localizable localizableWSIMPORT_NO_WSDL(Object arg0) {
   833     public static Localizable localizableWSIMPORT_NO_WSDL(Object arg0) {
   847         return messageFactory.getMessage("wsimport.no.wsdl", arg0);
   834         return messageFactory.getMessage("wsimport.no.wsdl", arg0);
   848     }
   835     }
   849 
   836 
   850     /**
   837     /**
   851      * Failed to read the WSDL document: {0}, because 1) could not find the document; /2) the document could not be read; 3) the root element of the document is not <wsdl:definitions>.
   838      * Failed to read the WSDL document: {0}, because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <wsdl:definitions>.
   852      *
   839      *
   853      */
   840      */
   854     public static String WSIMPORT_NO_WSDL(Object arg0) {
   841     public static String WSIMPORT_NO_WSDL(Object arg0) {
   855         return localizer.localize(localizableWSIMPORT_NO_WSDL(arg0));
   842         return localizer.localize(localizableWSIMPORT_NO_WSDL(arg0));
   856     }
   843     }
   858     public static Localizable localizableWSIMPORT_AUTH_INFO_LINENO(Object arg0, Object arg1) {
   845     public static Localizable localizableWSIMPORT_AUTH_INFO_LINENO(Object arg0, Object arg1) {
   859         return messageFactory.getMessage("wsimport.AUTH_INFO_LINENO", arg0, arg1);
   846         return messageFactory.getMessage("wsimport.AUTH_INFO_LINENO", arg0, arg1);
   860     }
   847     }
   861 
   848 
   862     /**
   849     /**
   863      * "line {0} of {1}
   850      * line {0} of {1}
   864      *
   851      *
   865      */
   852      */
   866     public static String WSIMPORT_AUTH_INFO_LINENO(Object arg0, Object arg1) {
   853     public static String WSIMPORT_AUTH_INFO_LINENO(Object arg0, Object arg1) {
   867         return localizer.localize(localizableWSIMPORT_AUTH_INFO_LINENO(arg0, arg1));
   854         return localizer.localize(localizableWSIMPORT_AUTH_INFO_LINENO(arg0, arg1));
   868     }
   855     }
   920     public static Localizable localizableWSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(Object arg0, Object arg1) {
   907     public static Localizable localizableWSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(Object arg0, Object arg1) {
   921         return messageFactory.getMessage("wsgen.cannot.gen.wsdl.for.soap12.binding", arg0, arg1);
   908         return messageFactory.getMessage("wsgen.cannot.gen.wsdl.for.soap12.binding", arg0, arg1);
   922     }
   909     }
   923 
   910 
   924     /**
   911     /**
   925      * wsgen can not generate WSDL for SOAP 1.2 binding: {0} on class: {1}.
   912      * wsgen can not generate WSDL for SOAP 1.2 binding: {0} on class: {1}.Please specify "-extension" and "-wsdl:protocol XSoap1.2" switches. For example:wsgen -wsdl:protocol XSoap1.2 -extenson {1}
   926      *
       
   927      *
   913      *
   928      */
   914      */
   929     public static String WSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(Object arg0, Object arg1) {
   915     public static String WSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(Object arg0, Object arg1) {
   930         return localizer.localize(localizableWSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(arg0, arg1));
   916         return localizer.localize(localizableWSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(arg0, arg1));
   931     }
   917     }