src/share/jaxws_classes/com/sun/tools/internal/ws/resources/WscompileMessages.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 WscompileMessages {
  39 
  40     private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.tools.internal.ws.resources.wscompile");
  41     private final static Localizer localizer = new Localizer();
  42 
  43     public static Localizable localizableWSIMPORT_ARCHIVING_ARTIFACTS(Object arg0) {
  44         return messageFactory.getMessage("wsimport.archivingArtifacts", arg0);
  45     }
  46 
  47     /**
  48      *
  49      * Archiving the generated artifacts into {0}.
  50      *
  51      *


 196         return messageFactory.getMessage("wsimport.usage.examples");
 197     }
 198 
 199     /**
 200      *
 201      * Examples:
 202      *   wsimport stock.wsdl -b stock.xml -b stock.xjb
 203      *   wsimport -d generated http://example.org/stock?wsdl
 204      *
 205      *
 206      */
 207     public static String WSIMPORT_USAGE_EXAMPLES() {
 208         return localizer.localize(localizableWSIMPORT_USAGE_EXAMPLES());
 209     }
 210 
 211     public static Localizable localizableINVOKER_NEED_ENDORSED(Object arg0, Object arg1) {
 212         return messageFactory.getMessage("invoker.needEndorsed", arg0, arg1);
 213     }
 214 
 215     /**
 216      * You are running on JDK6 which comes with JAX-WS {0} API, but this tool requires JAX-WS {1} API. Use the endorsed standards override mechanism (http://java.sun.com/javase/6/docs/technotes/guides/standards/), or use -Xendorsed option.
 217      *
 218      */
 219     public static String INVOKER_NEED_ENDORSED(Object arg0, Object arg1) {
 220         return localizer.localize(localizableINVOKER_NEED_ENDORSED(arg0, arg1));
 221     }
 222 
 223     public static Localizable localizableWSIMPORT_MISSING_FILE() {
 224         return messageFactory.getMessage("wsimport.missingFile");
 225     }
 226 
 227     /**
 228      * Missing WSDL_URI
 229      *
 230      */
 231     public static String WSIMPORT_MISSING_FILE() {
 232         return localizer.localize(localizableWSIMPORT_MISSING_FILE());
 233     }
 234 
 235     public static Localizable localizableWSIMPORT_USAGE_EXTENSIONS() {
 236         return messageFactory.getMessage("wsimport.usage.extensions");


 314         return messageFactory.getMessage("wsimport.help", arg0);
 315     }
 316 
 317     /**
 318      *
 319      * Usage: {0} [options] <WSDL_URI>
 320      *
 321      * where [options] include:
 322      *   -b <path>                 specify jaxws/jaxb binding files or additional schemas
 323      *                             (Each <path> must have its own -b)
 324      *   -B<jaxbOption>            Pass this option to JAXB schema compiler
 325      *   -catalog <file>           specify catalog file to resolve external entity references
 326      *                             supports TR9401, XCatalog, and OASIS XML Catalog format.
 327      *   -d <directory>            specify where to place generated output files
 328      *   -encoding <encoding>      specify character encoding used by source files
 329      *   -extension                allow vendor extensions - functionality not specified
 330      *                             by the specification.  Use of extensions may
 331      *                             result in applications that are not portable or
 332      *                             may not interoperate with other implementations
 333      *   -help                     display help
 334      *   -httpproxy:<host>:<port>  specify a HTTP proxy server (port defaults to 8080)

 335      *   -keep                     keep generated files
 336      *   -p <pkg>                  specifies the target package
 337      *   -quiet                    suppress wsimport output
 338      *   -s <directory>            specify where to place generated source files
 339      *   -target <version>         generate code as per the given JAXWS spec version
 340      *                             Defaults to 2.2, Accepted values are 2.0, 2.1 and 2.2
 341      *                             e.g. 2.0 will generate compliant code for JAXWS 2.0 spec
 342      *   -verbose                  output messages about what the compiler is doing
 343      *   -version                  print version information
 344      *   -fullversion              print full version information
 345      *   -wsdllocation <location>  @WebServiceClient.wsdlLocation value
 346      *   -clientjar <jarfile>      Creates the jar file of the generated artifacts along with the
 347      *                             WSDL metadata required for invoking the web service.
 348      *   -generateJWS              generate stubbed JWS implementation file
 349      *   -implDestDir <directory>  specify where to generate JWS implementation file
 350      *   -implServiceName <name>   local portion of service name for generated JWS implementation
 351      *   -implPortName <name>      local portion of port name for generated JWS implementation
 352      *
 353      */
 354     public static String WSIMPORT_HELP(Object arg0) {


 551         return localizer.localize(localizableWSIMPORT_NOT_A_FILE_NOR_URL(arg0));
 552     }
 553 
 554     public static Localizable localizableWSCOMPILE_WARNING(Object arg0) {
 555         return messageFactory.getMessage("wscompile.warning", arg0);
 556     }
 557 
 558     /**
 559      * warning: {0}
 560      *
 561      */
 562     public static String WSCOMPILE_WARNING(Object arg0) {
 563         return localizer.localize(localizableWSCOMPILE_WARNING(arg0));
 564     }
 565 
 566     public static Localizable localizableWRAPPER_TASK_NEED_ENDORSED(Object arg0, Object arg1, Object arg2) {
 567         return messageFactory.getMessage("wrapperTask.needEndorsed", arg0, arg1, arg2);
 568     }
 569 
 570     /**
 571      * You are running on JDK6 which comes with JAX-WS {0} API, but this tool requires JAX-WS {1} API. Use the endorsed standards override mechanism (http://java.sun.com/javase/6/docs/technotes/guides/standards/), or set xendorsed="true" on <{2}>.
 572      *
 573      */
 574     public static String WRAPPER_TASK_NEED_ENDORSED(Object arg0, Object arg1, Object arg2) {
 575         return localizer.localize(localizableWRAPPER_TASK_NEED_ENDORSED(arg0, arg1, arg2));
 576     }
 577 
 578     public static Localizable localizableWSIMPORT_NO_SUCH_JAXB_OPTION(Object arg0) {
 579         return messageFactory.getMessage("wsimport.noSuchJaxbOption", arg0);
 580     }
 581 
 582     /**
 583      * no such JAXB option: {0}
 584      *
 585      */
 586     public static String WSIMPORT_NO_SUCH_JAXB_OPTION(Object arg0) {
 587         return localizer.localize(localizableWSIMPORT_NO_SUCH_JAXB_OPTION(arg0));
 588     }
 589 
 590     public static Localizable localizableWSGEN_VERSION(Object arg0) {
 591         return messageFactory.getMessage("wsgen.version", arg0);


 891 
 892     /**
 893      * wsgen can not generate WSDL for SOAP 1.2 binding: {0} on class: {1}.
 894      *
 895      *
 896      */
 897     public static String WSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(Object arg0, Object arg1) {
 898         return localizer.localize(localizableWSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(arg0, arg1));
 899     }
 900 
 901     public static Localizable localizableWSIMPORT_ILLEGAL_TARGET_VERSION(Object arg0) {
 902         return messageFactory.getMessage("wsimport.ILLEGAL_TARGET_VERSION", arg0);
 903     }
 904 
 905     /**
 906      * "{0}" is not a valid target version. "2.0" and "2.1" are supported.
 907      *
 908      */
 909     public static String WSIMPORT_ILLEGAL_TARGET_VERSION(Object arg0) {
 910         return localizer.localize(localizableWSIMPORT_ILLEGAL_TARGET_VERSION(arg0));












 911     }
 912 
 913     public static Localizable localizableWSGEN_PORTNAME_MISSING_LOCALNAME(Object arg0) {
 914         return messageFactory.getMessage("wsgen.portname.missing.localname", arg0);
 915     }
 916 
 917     /**
 918      * The port name "{0}" is missing a localname.
 919      *
 920      */
 921     public static String WSGEN_PORTNAME_MISSING_LOCALNAME(Object arg0) {
 922         return localizer.localize(localizableWSGEN_PORTNAME_MISSING_LOCALNAME(arg0));
 923     }
 924 
 925     public static Localizable localizableWSGEN_PORTNAME_MISSING_NAMESPACE(Object arg0) {
 926         return messageFactory.getMessage("wsgen.portname.missing.namespace", arg0);
 927     }
 928 
 929     /**
 930      * The port name "{0}" is missing a namespace.
   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 WscompileMessages {
  38 
  39     private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.tools.internal.ws.resources.wscompile");
  40     private final static Localizer localizer = new Localizer();
  41 
  42     public static Localizable localizableWSIMPORT_ARCHIVING_ARTIFACTS(Object arg0) {
  43         return messageFactory.getMessage("wsimport.archivingArtifacts", arg0);
  44     }
  45 
  46     /**
  47      *
  48      * Archiving the generated artifacts into {0}.
  49      *
  50      *


 195         return messageFactory.getMessage("wsimport.usage.examples");
 196     }
 197 
 198     /**
 199      *
 200      * Examples:
 201      *   wsimport stock.wsdl -b stock.xml -b stock.xjb
 202      *   wsimport -d generated http://example.org/stock?wsdl
 203      *
 204      *
 205      */
 206     public static String WSIMPORT_USAGE_EXAMPLES() {
 207         return localizer.localize(localizableWSIMPORT_USAGE_EXAMPLES());
 208     }
 209 
 210     public static Localizable localizableINVOKER_NEED_ENDORSED(Object arg0, Object arg1) {
 211         return messageFactory.getMessage("invoker.needEndorsed", arg0, arg1);
 212     }
 213 
 214     /**
 215      * You are running on JDK6 which comes with JAX-WS {0} API, but this tool requires JAX-WS {1} API. Use the endorsed standards override mechanism (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/), or use -Xendorsed option.
 216      *
 217      */
 218     public static String INVOKER_NEED_ENDORSED(Object arg0, Object arg1) {
 219         return localizer.localize(localizableINVOKER_NEED_ENDORSED(arg0, arg1));
 220     }
 221 
 222     public static Localizable localizableWSIMPORT_MISSING_FILE() {
 223         return messageFactory.getMessage("wsimport.missingFile");
 224     }
 225 
 226     /**
 227      * Missing WSDL_URI
 228      *
 229      */
 230     public static String WSIMPORT_MISSING_FILE() {
 231         return localizer.localize(localizableWSIMPORT_MISSING_FILE());
 232     }
 233 
 234     public static Localizable localizableWSIMPORT_USAGE_EXTENSIONS() {
 235         return messageFactory.getMessage("wsimport.usage.extensions");


 313         return messageFactory.getMessage("wsimport.help", arg0);
 314     }
 315 
 316     /**
 317      *
 318      * Usage: {0} [options] <WSDL_URI>
 319      *
 320      * where [options] include:
 321      *   -b <path>                 specify jaxws/jaxb binding files or additional schemas
 322      *                             (Each <path> must have its own -b)
 323      *   -B<jaxbOption>            Pass this option to JAXB schema compiler
 324      *   -catalog <file>           specify catalog file to resolve external entity references
 325      *                             supports TR9401, XCatalog, and OASIS XML Catalog format.
 326      *   -d <directory>            specify where to place generated output files
 327      *   -encoding <encoding>      specify character encoding used by source files
 328      *   -extension                allow vendor extensions - functionality not specified
 329      *                             by the specification.  Use of extensions may
 330      *                             result in applications that are not portable or
 331      *                             may not interoperate with other implementations
 332      *   -help                     display help
 333      *   -httpproxy:<proxy>        set a HTTP proxy. Format is [user[:password]@]proxyHost:proxyPort
 334      *                             (port defaults to 8080)
 335      *   -keep                     keep generated files
 336      *   -p <pkg>                  specifies the target package
 337      *   -quiet                    suppress wsimport output
 338      *   -s <directory>            specify where to place generated source files
 339      *   -target <version>         generate code as per the given JAXWS spec version
 340      *                             Defaults to 2.2, Accepted values are 2.0, 2.1 and 2.2
 341      *                             e.g. 2.0 will generate compliant code for JAXWS 2.0 spec
 342      *   -verbose                  output messages about what the compiler is doing
 343      *   -version                  print version information
 344      *   -fullversion              print full version information
 345      *   -wsdllocation <location>  @WebServiceClient.wsdlLocation value
 346      *   -clientjar <jarfile>      Creates the jar file of the generated artifacts along with the
 347      *                             WSDL metadata required for invoking the web service.
 348      *   -generateJWS              generate stubbed JWS implementation file
 349      *   -implDestDir <directory>  specify where to generate JWS implementation file
 350      *   -implServiceName <name>   local portion of service name for generated JWS implementation
 351      *   -implPortName <name>      local portion of port name for generated JWS implementation
 352      *
 353      */
 354     public static String WSIMPORT_HELP(Object arg0) {


 551         return localizer.localize(localizableWSIMPORT_NOT_A_FILE_NOR_URL(arg0));
 552     }
 553 
 554     public static Localizable localizableWSCOMPILE_WARNING(Object arg0) {
 555         return messageFactory.getMessage("wscompile.warning", arg0);
 556     }
 557 
 558     /**
 559      * warning: {0}
 560      *
 561      */
 562     public static String WSCOMPILE_WARNING(Object arg0) {
 563         return localizer.localize(localizableWSCOMPILE_WARNING(arg0));
 564     }
 565 
 566     public static Localizable localizableWRAPPER_TASK_NEED_ENDORSED(Object arg0, Object arg1, Object arg2) {
 567         return messageFactory.getMessage("wrapperTask.needEndorsed", arg0, arg1, arg2);
 568     }
 569 
 570     /**
 571      * You are running on JDK6 which comes with JAX-WS {0} API, but this tool requires JAX-WS {1} API. Use the endorsed standards override mechanism (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/), or set xendorsed="true" on <{2}>.
 572      *
 573      */
 574     public static String WRAPPER_TASK_NEED_ENDORSED(Object arg0, Object arg1, Object arg2) {
 575         return localizer.localize(localizableWRAPPER_TASK_NEED_ENDORSED(arg0, arg1, arg2));
 576     }
 577 
 578     public static Localizable localizableWSIMPORT_NO_SUCH_JAXB_OPTION(Object arg0) {
 579         return messageFactory.getMessage("wsimport.noSuchJaxbOption", arg0);
 580     }
 581 
 582     /**
 583      * no such JAXB option: {0}
 584      *
 585      */
 586     public static String WSIMPORT_NO_SUCH_JAXB_OPTION(Object arg0) {
 587         return localizer.localize(localizableWSIMPORT_NO_SUCH_JAXB_OPTION(arg0));
 588     }
 589 
 590     public static Localizable localizableWSGEN_VERSION(Object arg0) {
 591         return messageFactory.getMessage("wsgen.version", arg0);


 891 
 892     /**
 893      * wsgen can not generate WSDL for SOAP 1.2 binding: {0} on class: {1}.
 894      *
 895      *
 896      */
 897     public static String WSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(Object arg0, Object arg1) {
 898         return localizer.localize(localizableWSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(arg0, arg1));
 899     }
 900 
 901     public static Localizable localizableWSIMPORT_ILLEGAL_TARGET_VERSION(Object arg0) {
 902         return messageFactory.getMessage("wsimport.ILLEGAL_TARGET_VERSION", arg0);
 903     }
 904 
 905     /**
 906      * "{0}" is not a valid target version. "2.0" and "2.1" are supported.
 907      *
 908      */
 909     public static String WSIMPORT_ILLEGAL_TARGET_VERSION(Object arg0) {
 910         return localizer.localize(localizableWSIMPORT_ILLEGAL_TARGET_VERSION(arg0));
 911     }
 912 
 913     public static Localizable localizableWSIMPORT_ILLEGAL_PROXY(Object arg0) {
 914         return messageFactory.getMessage("wsimport.ILLEGAL_PROXY", arg0);
 915     }
 916 
 917     /**
 918      * "{0}" is not a valid proxy format. The format is [user[:password]@]proxyHost:proxyPort
 919      *
 920      */
 921     public static String WSIMPORT_ILLEGAL_PROXY(Object arg0) {
 922         return localizer.localize(localizableWSIMPORT_ILLEGAL_PROXY(arg0));
 923     }
 924 
 925     public static Localizable localizableWSGEN_PORTNAME_MISSING_LOCALNAME(Object arg0) {
 926         return messageFactory.getMessage("wsgen.portname.missing.localname", arg0);
 927     }
 928 
 929     /**
 930      * The port name "{0}" is missing a localname.
 931      *
 932      */
 933     public static String WSGEN_PORTNAME_MISSING_LOCALNAME(Object arg0) {
 934         return localizer.localize(localizableWSGEN_PORTNAME_MISSING_LOCALNAME(arg0));
 935     }
 936 
 937     public static Localizable localizableWSGEN_PORTNAME_MISSING_NAMESPACE(Object arg0) {
 938         return messageFactory.getMessage("wsgen.portname.missing.namespace", arg0);
 939     }
 940 
 941     /**
 942      * The port name "{0}" is missing a namespace.