| java.lang.Object org.netbeans.modules.websvc.registry.util.Util
Util | public class Util (Code) | | General utility methods for WSDL documents.
|
createWSJar | public static boolean createWSJar(WebServiceData inWSData, OutputStream inOutputStream, String inJarFileName)(Code) | | This method will create a jar file for a given WebServiceData object.
Parameters: inWSData - - the WebServiceData to create the jar file for. |
getParameterType | public static String getParameterType(Port inPort, JavaParameter inParameter)(Code) | | Bug fix: 5059732
This method will return the correct type for the parameter. If the JavaParameter is considered a "Holder"
the holder class name will be used.
TODO: include in JAX-RPC API
If the parameter is a "Holder" we need the holder type and not the JavaType. This is
typically the case when there is no return type and the parameter's meant to be mutable, pass-by-reference
type parameters. I took the code below directly from the JAX-RPC class:
"com.sun.xml.rpc.processor.generator.StubGenerator" except that I'm not checking the Operation for an Array type.
- David Botterill 6/8/2004
|
getProperPortName | public static String getProperPortName(String inPortName)(Code) | | This method will take a WSDL port name like "threat.cfc" and change it to
"ThreatCfc"
|
getRuntimeClassPath | public static String getRuntimeClassPath()(Code) | | This method will construct the default classpath to be used for running the "wscompile" tool.
|
isValidIdentifier | public static boolean isValidIdentifier(String inIdentifier)(Code) | | This method will determine if an identifier is valid. The first character will be checked against Character.isJavaIdentifierStart() then each character will
be checked against Character.isJavaIdentifierPart().
|
isValidPackageName | public static boolean isValidPackageName(String inPackageName)(Code) | | This method will determine if a package name is valid. For each qualification of the package name (part between
the ".", the first character will be checked against Character.isJavaIdentifierStart() then each character will
be checked against Character.isJavaIdentifierPart().
|
|
|