|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.MatchingTask
org.apache.woden.ant.ValidateWSDL20
This is an Ant task to validate WSDL 2.0 files.
Parameters: The 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
.
Field Summary |
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
fileset |
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 | |
ValidateWSDL20()
|
Method Summary | |
void |
execute()
|
java.io.File |
getCmdir()
Gets the directory for component model interchange formal output. |
java.lang.String |
getCmext()
Gets the component model interchange format file extension. |
java.io.File |
getDir()
Gets the input WSDL fileset directory. |
java.io.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(java.lang.String baseURI)
Sets the resolver base URI path. |
void |
setCatalog(java.lang.String catalog)
Sets the resolver catalog file. |
void |
setCm(boolean cm)
Enables component model interchange format output. |
void |
setCmdir(java.io.File cmdir)
Sets the directory for component model interchange formal output. |
void |
setCmext(java.lang.String cmext)
Sets the component model interchange format file extension. |
void |
setDir(java.io.File dir)
Sets the input WSDL fileset directory. |
void |
setFailOnError(boolean failOnError)
Enables fail on error behavior. |
void |
setReport(java.io.File report)
Sets the output report file. |
void |
setVerbose(boolean verbose)
Enables verbose console output. |
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
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 |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ValidateWSDL20()
Method Detail |
public java.io.File getDir()
public void setDir(java.io.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(java.io.File cmdir)
cmdir
- the directorypublic java.io.File getCmdir()
public void setCmext(java.lang.String cmext)
cmext
- the extensionpublic java.lang.String getCmext()
public java.io.File getReport()
public void setReport(java.io.File report)
report
- the filepublic void execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
public void setCatalog(java.lang.String catalog)
catalog
- resolver catalog file URIpublic void setBaseURI(java.lang.String baseURI)
baseURI
- base URI path
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |