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
All Implemented Interfaces:
Cloneable

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
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
WsdlGenTask()
           
 
Method Summary
 void execute()
           
 File getGeneratedFile()
          Path of the generatedFile
protected  void processService(org.codehaus.xfire.service.Service service)
           
 void setOutputDirectory(String outputDirectory)
           
 
Methods inherited from class org.codehaus.xfire.gen.BaseServicesGenTask
getConfigUrl, iterateServices, setConfigUrl
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsdlGenTask

public WsdlGenTask()
Method Detail

setOutputDirectory

public void setOutputDirectory(String outputDirectory)

getGeneratedFile

public 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-2013. All Rights Reserved.