com.thaiopensource.relaxng.util
Class JingTask

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.Task
              |
              +--com.thaiopensource.relaxng.util.JingTask

public class JingTask
extends org.apache.tools.ant.Task

Ant task to validate XML files using RELAX NG.


Field Summary
 
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
JingTask()
           
 
Method Summary
 void addFileset(org.apache.tools.ant.types.FileSet set)
           
 void execute()
           
 void setCheckid(boolean checkid)
          Handles the checkid attribute.
 void setCompactsyntax(boolean compactsyntax)
          Handles the compactsyntax attribute.
 void setFile(File file)
           
 void setRngfile(String rngFilename)
          Handles the rngfile attribute.
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JingTask

public JingTask()
Method Detail

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException

setRngfile

public void setRngfile(String rngFilename)
Handles the rngfile attribute.

Parameters:
rngFilename - 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

addFileset

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