Package com.thaiopensource.relaxng.util
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFileset
(org.apache.tools.ant.types.FileSet set) void
execute()
void
setCheckid
(boolean checkid) Handles thecheckid
attribute.void
setCompactsyntax
(boolean compactsyntax) Handles thecompactsyntax
attribute.void
setFailonerror
(boolean failOnError) Handles thefailonerror
attribute.void
setFeasible
(boolean feasible) Handles thefeasible
attribute.void
void
Handles the phase attribute.void
setRngfile
(String rngFilename) Handles therngfile
attribute.void
setSchemafile
(String schemaFilename) Handles theschemafile
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
-
Constructor Details
-
JingTask
public JingTask()
-
-
Method Details
-
execute
public void execute() throws org.apache.tools.ant.BuildException- Overrides:
execute
in classorg.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
-
setRngfile
Handles therngfile
attribute.- Parameters:
rngFilename
- the attribute value
-
setSchemafile
Handles theschemafile
attribute.- Parameters:
schemaFilename
- the attribute value
-
setFile
-
setCheckid
public void setCheckid(boolean checkid) Handles thecheckid
attribute.- Parameters:
checkid
- the attribute value converted to a boolean
-
setCompactsyntax
public void setCompactsyntax(boolean compactsyntax) Handles thecompactsyntax
attribute.- Parameters:
compactsyntax
- the attribute value converted to a boolean
-
setFeasible
public void setFeasible(boolean feasible) Handles thefeasible
attribute.- Parameters:
feasible
- the attribute value converted to a boolean
-
setPhase
Handles the phase attribute.- Parameters:
phase
- the attribute value
-
setFailonerror
public void setFailonerror(boolean failOnError) Handles thefailonerror
attribute.- Parameters:
failOnError
- the attribute value converted to a boolean
-
addFileset
public void addFileset(org.apache.tools.ant.types.FileSet set)
-