Package org.iso_relax.ant
Class JARVTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.iso_relax.ant.JARVTask
-
- All Implemented Interfaces:
java.lang.Cloneable
public class JARVTask extends org.apache.tools.ant.Task
Ant Task that performs XML validation through JARV.- Author:
- Kohsuke Kawaguchi (kk@kohsuke.org)
-
-
Constructor Summary
Constructors Constructor Description JARVTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFileset(org.apache.tools.ant.types.FileSet fs)
Handles the nested file set.void
execute()
void
setFile(java.io.File file)
Handles the file attribute.void
setSchema(java.lang.String schemaFilename)
Handles the schema attribute.void
setSchemaLanguage(java.lang.String schemaLanguage)
Handles the schemaLanguage attribute.-
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, init, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
-
-
-
-
Method Detail
-
setSchema
public void setSchema(java.lang.String schemaFilename)
Handles the schema attribute.
-
setSchemaLanguage
public void setSchemaLanguage(java.lang.String schemaLanguage)
Handles the schemaLanguage attribute.
-
setFile
public void setFile(java.io.File file)
Handles the file attribute.
-
addFileset
public void addFileset(org.apache.tools.ant.types.FileSet fs)
Handles the nested file set.
-
execute
public void execute() throws org.apache.tools.ant.BuildException
- Overrides:
execute
in classorg.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
-
-