Class JingTask

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.thaiopensource.relaxng.util.JingTask
All Implemented Interfaces:
Cloneable

public class JingTask extends org.apache.tools.ant.Task
Ant task to validate XML files using RELAX NG or other schema languages.
  • Field Summary

    Fields inherited from class org.apache.tools.ant.Task

    target, taskName, taskType, wrapper

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

    description, location, project
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addFileset(org.apache.tools.ant.types.FileSet set)
     
    void
     
    void
    setCheckid(boolean checkid)
    Handles the checkid attribute.
    void
    setCompactsyntax(boolean compactsyntax)
    Handles the compactsyntax attribute.
    void
    setFailonerror(boolean failOnError)
    Handles the failonerror attribute.
    void
    setFeasible(boolean feasible)
    Handles the feasible attribute.
    void
    setFile(File file)
     
    void
    Handles the phase attribute.
    void
    setRngfile(String rngFilename)
    Handles the rngfile attribute.
    void
    setSchemafile(String schemaFilename)
    Handles the schemafile attribute.

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

    bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, 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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JingTask

      public JingTask()
  • Method Details

    • 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
    • setRngfile

      public void setRngfile(String rngFilename)
      Handles the rngfile attribute.
      Parameters:
      rngFilename - the attribute value
    • setSchemafile

      public void setSchemafile(String schemaFilename)
      Handles the schemafile attribute.
      Parameters:
      schemaFilename - the attribute value
    • setFile

      public void setFile(File file)
    • setCheckid

      public void setCheckid(boolean checkid)
      Handles the checkid attribute.
      Parameters:
      checkid - the attribute value converted to a boolean
    • setCompactsyntax

      public void setCompactsyntax(boolean compactsyntax)
      Handles the compactsyntax attribute.
      Parameters:
      compactsyntax - the attribute value converted to a boolean
    • setFeasible

      public void setFeasible(boolean feasible)
      Handles the feasible attribute.
      Parameters:
      feasible - the attribute value converted to a boolean
    • setPhase

      public void setPhase(String phase)
      Handles the phase attribute.
      Parameters:
      phase - the attribute value
    • setFailonerror

      public void setFailonerror(boolean failOnError)
      Handles the failonerror attribute.
      Parameters:
      failOnError - the attribute value converted to a boolean
    • addFileset

      public void addFileset(org.apache.tools.ant.types.FileSet set)