org.exolab.castor.tools.ant.taskdefs

Class CastorSourceGenTask

public class CastorSourceGenTask extends MatchingTask

An Ant task to call the Castor Source Generator. It can be passed a file, a directory, a Fileset or all three.

Author: Joel Farquhar Bruce Snyder

Field Summary
SourceGeneratorsgen
SourceGenerator instance
Constructor Summary
CastorSourceGenTask()
Method Summary
voidaddFileset(FileSet set)
voidexecute()
voidsetBindingfile(String bindingfile)
voidsetDir(File dir)
voidsetFile(File file)
voidsetLineseparator(String ls)
voidsetNodesc(boolean b)
voidsetNomarshall(boolean b)
voidsetPackage(String pack)
voidsetProperties(String properties)
Sets the file to use for castor builder properties
voidsetTestable(boolean b)
voidsetTodir(String dest)
voidsetTypes(String tf)
voidsetVerbose(boolean b)
voidsetWarnings(boolean b)

Field Detail

sgen

SourceGenerator sgen
SourceGenerator instance

Constructor Detail

CastorSourceGenTask

public CastorSourceGenTask()

Method Detail

addFileset

public void addFileset(FileSet set)

execute

public void execute()

setBindingfile

public void setBindingfile(String bindingfile)

setDir

public void setDir(File dir)

setFile

public void setFile(File file)

setLineseparator

public void setLineseparator(String ls)

setNodesc

public void setNodesc(boolean b)

setNomarshall

public void setNomarshall(boolean b)

setPackage

public void setPackage(String pack)

setProperties

public void setProperties(String properties)
Sets the file to use for castor builder properties

Parameters: properties the properties to use

setTestable

public void setTestable(boolean b)

setTodir

public void setTodir(String dest)

setTypes

public void setTypes(String tf)

setVerbose

public void setVerbose(boolean b)

setWarnings

public void setWarnings(boolean b)
Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com