| java.lang.Object de.schlund.pfixcore.webservice.jaxws.generate.TaskUtils
TaskUtils | public class TaskUtils (Code) | | Common utility methods used by the ant tasks
author: mleidig@schlund.de |
checkInterfaceChange | public static boolean checkInterfaceChange(String className, File buildDir, File refFile) throws BuildException(Code) | | Checks if the webservice interface has been modified since the last
modification of a reference file.
|
checkTypeChange | public static boolean checkTypeChange(Class> clazz, File buildDir, File refFile)(Code) | | Checks if a class has been modified since the last modification of a
reference file.
|
getArrayType | public static Class> getArrayType(Class> clazz)(Code) | | Get the root component type of an array (with arbitrary dimensions)
|
getTargetNamespace | public static String getTargetNamespace(Class> clazz)(Code) | | Returns the default target namespace of a class as defined in the JAX-WS
specification. The namespace is derived from the package of the class
using
TaskUtils.getTargetNamespace(Package) .
Parameters: clazz - the Java class the default target namespace |
getTargetNamespace | public static String getTargetNamespace(Package pkg)(Code) | | Returns the default target namespace of a package as defined in the
JAX-WS specification.
Parameters: pkg - the Java package the default target namespace |
getTypeString | public static String getTypeString(Type type)(Code) | | Creates string representation of Java type (in source code form)
|
hasInterfaceType | public static boolean hasInterfaceType(Method method)(Code) | | Checks if the method's return or parameter types contain an interface
(which isn't supported by JAXB)
|
loadDoc | public static Document loadDoc(File file) throws BuildException(Code) | | Reads Document from a XML file.
|
|
|