org.codehaus.mojo.jaxws
Class WsImportMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.jaxws.AbstractJaxwsMojo
          extended by org.codehaus.mojo.jaxws.WsImportMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class WsImportMojo
extends AbstractJaxwsMojo

A Maven 2 plugin which parses wsdl and binding files and produces a corresponding object model based on the JAXWS WsImport parsing engine.

Version:
$Id: WsImportMojo.java 3169 2007-01-22 02:51:29Z dantran $
Author:
gnodet , dantran

Field Summary
protected  File bindingDirectory
          Directory containing binding files.
protected  List bindingFiles
          List of files to use for bindings.If not specified, all .xml files in the bindingDirectory will be used.
protected  File sourceDestDir
          Specify where to place generated source files, keep is turned on with this option.
protected  List wsdlFiles
          List of files to use for wsdls.
 
Fields inherited from class org.codehaus.mojo.jaxws.AbstractJaxwsMojo
destDir, extension, keep, project, verbose
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
WsImportMojo()
           
 
Method Summary
 void execute()
           
 File[] getBindingFiles()
          Returns a file array of xml files to translate to object models.
 File[] getWSDLFiles()
          Returns a file array of wsdl files to translate to object models.
 
Methods inherited from class org.codehaus.mojo.jaxws.AbstractJaxwsMojo
initClassLoader
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wsdlFiles

protected List wsdlFiles
List of files to use for wsdls. If not specified, all .wsdl files in the wsdlDirectory will be used.


bindingDirectory

protected File bindingDirectory
Directory containing binding files.


bindingFiles

protected List bindingFiles
List of files to use for bindings.If not specified, all .xml files in the bindingDirectory will be used.


sourceDestDir

protected File sourceDestDir
Specify where to place generated source files, keep is turned on with this option.

Constructor Detail

WsImportMojo

public WsImportMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

getBindingFiles

public final File[] getBindingFiles()
Returns a file array of xml files to translate to object models.

Returns:
An array of schema files to be parsed by the schema compiler.

getWSDLFiles

public final File[] getWSDLFiles()
Returns a file array of wsdl files to translate to object models.

Returns:
An array of schema files to be parsed by the schema compiler.


Copyright © 2011 Codehaus. All Rights Reserved.