Class 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
      • 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 Detail

      • JARVTask

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