|
|||||||||||
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
org.objectweb.jorm.util.lib.AntJorm
The JORM ant task.
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 | |
AntJorm()
|
Method Summary | |
org.apache.tools.ant.types.DTDLocation |
createDTD()
Create a DTD location record. |
void |
execute()
execute method of the Ant task |
void |
generates(java.lang.String[] pdFileNames)
|
void |
setBindingAbstract(boolean bindingAbstract)
It assigns the boolean value which indictes if the generated Binding must be declared abstract. |
void |
setBindingInheritance(java.lang.String s)
It assigns the class name which the generated PBinding classes must extend. |
void |
setGeneratePDFiles(boolean val)
|
void |
setJavac(boolean l)
The assigned boolean value indicates if the generated must be compiled. |
void |
setJormConf(java.lang.String s)
It assigns the jorm configuration file. |
void |
setKeepsrc(boolean keepsrc)
It assigns a boolean to indicate if the generated .java file must be kept. |
void |
setLogConf(java.lang.String s)
It assigns the jorm configuration file. |
void |
setMapperNames(java.lang.String mapperNames)
Defines the list of mappers to be used for compilation. |
void |
setMappingInheritance(java.lang.String s)
It assigns the class name which the generated PBinding classes must extend. |
void |
setOtherPdFiles(org.apache.tools.ant.types.Path cp)
It assigns the classpath where jorm can load .pd files which are needed (the dependecies). |
void |
setOtherPdFilesRef(org.apache.tools.ant.types.Reference r)
|
void |
setOutput(java.lang.String s)
The ouput name is the directory name where the generated files will be created. |
void |
setPdDir(java.io.File d)
It assigns the directory name where the include and exclude clause has been based. |
void |
setProjectName(java.lang.String s)
It assigns the project name which must be used. |
void |
setVerbose(boolean verbose)
It assigns the verbose mode to the jorm generator. |
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, init, 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 AntJorm()
Method Detail |
public void setPdDir(java.io.File d)
public org.apache.tools.ant.types.DTDLocation createDTD()
public void setJavac(boolean l)
public void setMapperNames(java.lang.String mapperNames)
mapperNames
- public void setOtherPdFiles(org.apache.tools.ant.types.Path cp)
public void setOtherPdFilesRef(org.apache.tools.ant.types.Reference r)
public void setOutput(java.lang.String s)
s
- the string representation of the output directorypublic void setJormConf(java.lang.String s)
s
- the string representation of the configuration file.public void setLogConf(java.lang.String s)
s
- the string representation of the configuration file.public void setProjectName(java.lang.String s)
public void setBindingInheritance(java.lang.String s)
public void setMappingInheritance(java.lang.String s)
public void setVerbose(boolean verbose)
public void setKeepsrc(boolean keepsrc)
public void setBindingAbstract(boolean bindingAbstract)
public void setGeneratePDFiles(boolean val)
public void execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
public void generates(java.lang.String[] pdFileNames) 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 |