|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.MatchingTask
net.sourceforge.chaperon.ant.ExtendedParserTask
A ant task for parsing text files
| Field Summary |
| Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
fileset |
| 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 | |
ExtendedParserTask()
Constructs the task |
|
| Method Summary | |
void |
addConfiguredXMLCatalog(org.apache.tools.ant.types.XMLCatalog xmlCatalog)
Add the catalog to our internal catalog |
org.apache.tools.ant.types.Mapper |
createMapper()
Creates a mapper. |
void |
execute()
Executes the task |
void |
init()
Initialize internal instance of XMLCatalog |
void |
setBasedir(java.io.File dir)
Set the base directory. |
void |
setDestdir(java.io.File dir)
Set the destination directory into which the result files should be copied to |
void |
setEncoding(java.lang.String encoding)
Sets the encoding for the input file |
void |
setGrammar(java.io.File grammarFile)
Set the grammar, which should be used. |
void |
setIndent(boolean indent)
Set if the output document should be indented |
void |
setInputtype(java.lang.String inputtype)
If the input document is a XML or a text document. |
void |
setMsglevel(java.lang.String msgLevel)
Sets the message level. |
void |
setParser(java.lang.String parserFactory)
Name of the parser factory. |
void |
setSrcdir(java.io.File dir)
Set the source directory |
void |
setTransformer(java.lang.String transformerFactory)
Name of the transformer factory. |
| Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems |
| Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExtendedParserTask()
| Method Detail |
public void execute()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildExceptionpublic void setBasedir(java.io.File dir)
dir - Base directorypublic void setSrcdir(java.io.File dir)
dir - Source directorypublic void setDestdir(java.io.File dir)
dir - Destination directory
public org.apache.tools.ant.types.Mapper createMapper()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildExceptionpublic void setGrammar(java.io.File grammarFile)
grammarFile - Grammar file.public void setMsglevel(java.lang.String msgLevel)
msgLevel - Message level.public void setEncoding(java.lang.String encoding)
encoding - Encoding of the documentpublic void setIndent(boolean indent)
indent - If the output should be indentedpublic void setInputtype(java.lang.String inputtype)
inputtype - Type of the input document.public void setParser(java.lang.String parserFactory)
parserFactory - Name of the parser factory.public void setTransformer(java.lang.String transformerFactory)
transformerFactory - Name of the transformer factory.public void addConfiguredXMLCatalog(org.apache.tools.ant.types.XMLCatalog xmlCatalog)
xmlCatalog - the XMLCatalog instance to use to look up DTDs
public void init()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||