public class ValidateWSDL20
extends org.apache.tools.ant.taskdefs.MatchingTask
dir
attribute is a file directory for the
fileset of WSDL 2.0 files to validate. You specify files in include and
exclude using the usual Ant attributes and elements.
The failonerror
attribute is a boolean flag with the usual
meaning.
The verbose
attribute is a boolean flag that enables verbose
output.
The cm
attribute is a boolean flag that enables Component
Model interchange format output. The default is false.
The cmdir
attribute is a file directory for the Component
Model interchange format output files. This is ignored if cm
is false. The default is to use the input directory as specified by the
dir
attribute.
The cmext
attribute is the file extension to use for the
Component Model interchange format output files. This is ignored if cm
is false. The default is .wsdlcm
.Constructor and Description |
---|
ValidateWSDL20() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
File |
getCmdir()
Gets the directory for component model interchange formal output.
|
String |
getCmext()
Gets the component model interchange format file extension.
|
File |
getDir()
Gets the input WSDL fileset directory.
|
File |
getReport()
Gets the output report file.
|
boolean |
isCm()
Tests for component model interchange formal output.
|
boolean |
isFailOnError()
Tests for fail on error behavior.
|
boolean |
isVerbose()
Tests for verbose console output.
|
void |
setBaseURI(String baseURI)
Sets the resolver base URI path.
|
void |
setCatalog(String catalog)
Sets the resolver catalog file.
|
void |
setCm(boolean cm)
Enables component model interchange format output.
|
void |
setCmdir(File cmdir)
Sets the directory for component model interchange formal output.
|
void |
setCmext(String cmext)
Sets the component model interchange format file extension.
|
void |
setDir(File dir)
Sets the input WSDL fileset directory.
|
void |
setFailOnError(boolean failOnError)
Enables fail on error behavior.
|
void |
setImplName(String implName)
Sets the implementation name to test against.
|
void |
setReport(File report)
Sets the output report file.
|
void |
setVerbose(boolean verbose)
Enables verbose console output.
|
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
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public File getDir()
public void setDir(File dir)
dir
- the directorypublic void setFailOnError(boolean failOnError)
failOnError
- the flagpublic boolean isFailOnError()
public void setVerbose(boolean verbose)
verbose
- the flagpublic boolean isVerbose()
public void setCm(boolean cm)
cm
- the flagpublic boolean isCm()
public void setCmdir(File cmdir)
cmdir
- the directorypublic File getCmdir()
public void setCmext(String cmext)
cmext
- the extensionpublic String getCmext()
public File getReport()
public void setReport(File report)
report
- the filepublic void setImplName(String implName)
implName
- The name of the implementation.public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
public void setCatalog(String catalog)
catalog
- resolver catalog file URIpublic void setBaseURI(String baseURI)
baseURI
- base URI pathCopyright © 2005–2019 Apache Software Foundation. All rights reserved.