Class JARVTask

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.iso_relax.ant.JARVTask
All Implemented Interfaces:
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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addFileset(org.apache.tools.ant.types.FileSet fs)
    Handles the nested file set.
    void
     
    void
    setFile(File file)
    Handles the file attribute.
    void
    setSchema(String schemaFilename)
    Handles the schema attribute.
    void
    setSchemaLanguage(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

    Methods inherited from class org.apache.tools.ant.ProjectComponent

    clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JARVTask

      public JARVTask()
  • Method Details

    • setSchema

      public void setSchema(String schemaFilename)
      Handles the schema attribute.
    • setSchemaLanguage

      public void setSchemaLanguage(String schemaLanguage)
      Handles the schemaLanguage attribute.
    • setFile

      public void setFile(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 class org.apache.tools.ant.Task
      Throws:
      org.apache.tools.ant.BuildException