Apache CXF API

org.apache.cxf.maven_plugin
Class WsdlOptionLoader

java.lang.Object
  extended by org.apache.cxf.maven_plugin.WsdlOptionLoader

public final class WsdlOptionLoader
extends java.lang.Object


Method Summary
protected static WsdlOption generateWsdlOptionFromFile(java.io.File wsdl, Option defaultOptions, java.io.File defaultOutputDir)
           
static java.util.List<WsdlOption> loadWsdlOptionsFromDependencies(MavenProject project, Option defaultOptions, java.io.File outputDir)
           
static java.util.List<WsdlOption> loadWsdlOptionsFromFiles(java.io.File wsdlBasedir, java.lang.String[] includes, java.lang.String[] excludes, Option defaultOptions, java.io.File defaultOutputDir)
          Scan files in a directory and generate one wsdlOption per file found.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadWsdlOptionsFromDependencies

public static java.util.List<WsdlOption> loadWsdlOptionsFromDependencies(MavenProject project,
                                                                         Option defaultOptions,
                                                                         java.io.File outputDir)

loadWsdlOptionsFromFiles

public static java.util.List<WsdlOption> loadWsdlOptionsFromFiles(java.io.File wsdlBasedir,
                                                                  java.lang.String[] includes,
                                                                  java.lang.String[] excludes,
                                                                  Option defaultOptions,
                                                                  java.io.File defaultOutputDir)
                                                           throws MojoExecutionException
Scan files in a directory and generate one wsdlOption per file found. Extra args for code generation can be defined in a file that is named like the wsdl file and ends in -options. Binding files can be defined in files named like the wsdl file and end in -binding-*.xml

Parameters:
wsdlBasedir -
includes - file name patterns to include
excludes - file name patterns to exclude
defaultOptions - options that should be used if no special file is given
Returns:
list of one WsdlOption object for each wsdl found
Throws:
MojoExecutionException

generateWsdlOptionFromFile

protected static WsdlOption generateWsdlOptionFromFile(java.io.File wsdl,
                                                       Option defaultOptions,
                                                       java.io.File defaultOutputDir)
                                                throws MojoExecutionException
Throws:
MojoExecutionException

Apache CXF API

Apache CXF