|
|||||||||||
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.objectweb.cjdbc.common.util.SplitXmlTask
Defines the SplitXml Ant target used to prepare the C-JDBC scripts generation.
Field Summary | |
private java.lang.String |
attributeName
|
private java.lang.String |
endTagName
|
private java.lang.String |
outputDir
|
private java.lang.String |
startTagName
|
private java.lang.String |
xmlFilePath
|
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 | |
SplitXmlTask()
|
Method Summary | |
void |
execute()
|
void |
setOuputFileAttribute(java.lang.String attributeName)
Set the attribute that contains the name of the file. |
void |
setOutputDir(java.lang.String outputDirPath)
Specify the output directory. |
void |
setParsingTagName(java.lang.String tagName)
Set parsing tag name. |
void |
setScriptXmlFile(java.lang.String xmlFilePath)
Set the path to the xml path containing the scripts definition. |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
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 |
Field Detail |
private java.lang.String xmlFilePath
private java.lang.String outputDir
private java.lang.String attributeName
private java.lang.String startTagName
private java.lang.String endTagName
Constructor Detail |
public SplitXmlTask()
Method Detail |
public void execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
Task.execute()
public void setScriptXmlFile(java.lang.String xmlFilePath)
xmlFilePath
- path to the xml filepublic void setOutputDir(java.lang.String outputDirPath)
outputDirPath
- the path to the directorypublic void setParsingTagName(java.lang.String tagName)
tagName
- the tag namepublic void setOuputFileAttribute(java.lang.String attributeName)
attributeName
- the name of the attribute to get the name of the file
to write
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |