|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task org.apache.maven.sitevalidator.Validator
Validator task. This task is a modified version of the standard ant validator task, specialized for checking xhtml files and logging errors (without beaking the build)
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 | |
Validator()
|
Method Summary | |
void |
addConfiguredXMLCatalog(org.apache.tools.ant.types.XMLCatalog catalog)
add an XMLCatalog as a nested element. |
void |
addFileset(org.apache.tools.ant.types.FileSet set)
specify a set of file to be checked |
org.apache.tools.ant.types.DTDLocation |
createDTD()
Create a DTD location record. |
void |
execute()
execute the task |
void |
init()
initialize task |
void |
setEncoding(java.lang.String value)
sets the input/output files encoding |
void |
setOUtput(java.io.File file)
sets the output file |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, isInvalid, 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 |
public Validator()
Method Detail |
public void setEncoding(java.lang.String value)
value
- encodingpublic void setOUtput(java.io.File file)
file
- output filepublic void addConfiguredXMLCatalog(org.apache.tools.ant.types.XMLCatalog catalog)
catalog
- XMLCatalogpublic void addFileset(org.apache.tools.ant.types.FileSet set)
set
- Filesetpublic void init()
public org.apache.tools.ant.types.DTDLocation createDTD()
public void execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
- if unable to build a validating SAX2 parser
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |