org.objectweb.cjdbc.common.util
Class SplitXmlTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.objectweb.cjdbc.common.util.SplitXmlTask

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

Defines the SplitXml Ant target used to prepare the C-JDBC scripts generation.

Version:
1.0
Author:
Nicolas Modrzyk

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

xmlFilePath

private java.lang.String xmlFilePath

outputDir

private java.lang.String outputDir

attributeName

private java.lang.String attributeName

startTagName

private java.lang.String startTagName

endTagName

private java.lang.String endTagName
Constructor Detail

SplitXmlTask

public SplitXmlTask()
Method Detail

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Throws:
org.apache.tools.ant.BuildException
See Also:
Task.execute()

setScriptXmlFile

public void setScriptXmlFile(java.lang.String xmlFilePath)
Set the path to the xml path containing the scripts definition.

Parameters:
xmlFilePath - path to the xml file

setOutputDir

public void setOutputDir(java.lang.String outputDirPath)
Specify the output directory.

Parameters:
outputDirPath - the path to the directory

setParsingTagName

public void setParsingTagName(java.lang.String tagName)
Set parsing tag name.

Parameters:
tagName - the tag name

setOuputFileAttribute

public void setOuputFileAttribute(java.lang.String attributeName)
Set the attribute that contains the name of the file.

Parameters:
attributeName - the name of the attribute to get the name of the file to write


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.