org.codehaus.xfire.gen
Class WsdlGenTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.codehaus.xfire.gen.BaseServicesGenTask
              extended by org.codehaus.xfire.gen.WsdlGenTask

public class WsdlGenTask
extends BaseServicesGenTask

A Java 2 WSDL generation Ant task for XFire. Allows to generate the Wsdl without firing up the web server.

Author:
Jerome Lacoste

Field Summary
 
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
WsdlGenTask()
           
 
Method Summary
 void execute()
           
 java.io.File getGeneratedFile()
          Path of the generatedFile
protected  void processService(org.codehaus.xfire.service.Service service)
           
 void setOutputDirectory(java.lang.String outputDirectory)
           
 
Methods inherited from class org.codehaus.xfire.gen.BaseServicesGenTask
getConfigUrl, iterateServices, setConfigUrl
 
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, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsdlGenTask

public WsdlGenTask()
Method Detail

setOutputDirectory

public void setOutputDirectory(java.lang.String outputDirectory)

getGeneratedFile

public java.io.File getGeneratedFile()
Path of the generatedFile

Returns:
the File when succesfully generated

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException

processService

protected void processService(org.codehaus.xfire.service.Service service)
Overrides:
processService in class BaseServicesGenTask


Copyright © 2004-2008. All Rights Reserved.