org.apache.ws.notification.tool
Class WsnWsdl2JavaTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.apache.tools.ant.taskdefs.MatchingTask
              extended byorg.apache.ws.resource.tool.Wsdl2JavaTask
                  extended byorg.apache.ws.notification.tool.WsnWsdl2JavaTask
All Implemented Interfaces:
org.apache.tools.ant.types.selectors.SelectorContainer

public class WsnWsdl2JavaTask
extends org.apache.ws.resource.tool.Wsdl2JavaTask

Ant task that wraps WsnWsdl2Java.

Author:
Ian Springer (ian DOT springer AT hp DOT com)

Field Summary
 
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask
fileset
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
WsnWsdl2JavaTask()
           
 
Method Summary
protected  org.apache.ws.resource.tool.Wsdl2Java createWsdl2Java(java.io.File[] wsdlFiles, java.io.File outputDir, java.io.File[] classpathFiles, org.apache.ws.resource.tool.Wsdl2Java.Wsdl2JavaOptions options)
          Method which builds the implementation of Wsdl2Java, which in this case is WsnWsdl2Java.
 java.lang.String toString()
          Returns a simple statement of what the task is.
 
Methods inherited from class org.apache.ws.resource.tool.Wsdl2JavaTask
addConfiguredSysproperty, addConfiguredWsdls, createClasspath, execute, getClasspath, setClasspath, setClasspathRef, setDebug, setNonProxyHosts, setOutputDir, setProxyHost, setProxyPort, setVerbose, setWsdl
 
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WsnWsdl2JavaTask

public WsnWsdl2JavaTask()
Method Detail

toString

public java.lang.String toString()
Returns a simple statement of what the task is.

Returns:
the simple string

createWsdl2Java

protected org.apache.ws.resource.tool.Wsdl2Java createWsdl2Java(java.io.File[] wsdlFiles,
                                                                java.io.File outputDir,
                                                                java.io.File[] classpathFiles,
                                                                org.apache.ws.resource.tool.Wsdl2Java.Wsdl2JavaOptions options)
                                                         throws java.lang.Exception
Method which builds the implementation of Wsdl2Java, which in this case is WsnWsdl2Java.

Parameters:
wsdlFiles - The wsdl files to be processed.
outputDir - The directory where the generated code will go.
classpathFiles - The classpath.
options - Wsdl2Java.Wsdl2JavaOptions
Returns:
The implementation of Wsdl2Java
Throws:
java.lang.Exception


Copyright © 2004-2005 Apache Software Foundation. All Rights Reserved.