Class WSToolingUtils


  • public class WSToolingUtils
    extends Object
    • Constructor Detail

      • WSToolingUtils

        public WSToolingUtils()
    • Method Detail

      • hasValue

        public static boolean hasValue​(String str)
        A handy function to check for empty or null string
        Parameters:
        str -
        Returns:
        boolean
      • isValidVersion

        public static boolean isValidVersion​(String wsGenVersion)
        Answer if the input version number is 2.1.6 or later. Version 2.1.6 is the Sun RI version that changed the WebMethod annotation semantics.
        Parameters:
        wsGenVersion - A version number separated by "." Up to the first 3 values will be checked.
        Returns:
        true if the version number is 2.1.6 or later, false otherwise.