Package org.apache.axis2.jaxws.util
Class WSToolingUtils
- java.lang.Object
- 
- org.apache.axis2.jaxws.util.WSToolingUtils
 
- 
 public class WSToolingUtils extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description WSToolingUtils()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetWsGenVersion()Retrieves the major version number of the WsGen class that we're usingstatic booleanhasValue(String str)A handy function to check for empty or null stringstatic booleanisValidVersion(String wsGenVersion)Answer if the input version number is 2.1.6 or later.
 
- 
- 
- 
Method Detail- 
hasValuepublic static boolean hasValue(String str) A handy function to check for empty or null string- Parameters:
- str-
- Returns:
- boolean
 
 - 
getWsGenVersionpublic static String getWsGenVersion() throws ClassNotFoundException, IOException Retrieves the major version number of the WsGen class that we're using- Returns:
- String
- Throws:
- ClassNotFoundException
- IOException
 
 - 
isValidVersionpublic 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.
 
 
- 
 
-