org.objectweb.jorm.util.lib
Class AntJormExec
java.lang.Object
|
+--org.objectweb.jorm.util.lib.AntJormExec
- All Implemented Interfaces:
- AntJormCompiler
- public class AntJormExec
- extends java.lang.Object
- implements AntJormCompiler
This class executes the generation and the compilation of a set of .pd
All parameter must be specified in the constructor because the actions are
done by the constructor.
Sebastien Chassande-Barrioz
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
project
protected org.apache.tools.ant.Project project
jormConfigFile
protected java.lang.String jormConfigFile
output
protected java.lang.String output
classpath
protected org.apache.tools.ant.types.Path classpath
pdDirectory
protected java.io.File pdDirectory
isLocalJormConfigFile
protected boolean isLocalJormConfigFile
mustCompil
protected boolean mustCompil
extensions
protected java.util.Map extensions
compilerParameter
protected CompilerParameter compilerParameter
compiler
protected BasicCompiler compiler
AntJormExec
public AntJormExec()
setAntProject
public void setAntProject(org.apache.tools.ant.Project p)
- Specified by:
setAntProject in interface AntJormCompiler
setMappingName
public void setMappingName(java.lang.String m)
- Specified by:
setMappingName in interface AntJormCompiler
setMapperName
public void setMapperName(java.lang.String m)
- Specified by:
setMapperName in interface AntJormCompiler
setMappingFactory
public void setMappingFactory(java.lang.String m)
- Specified by:
setMappingFactory in interface AntJormCompiler
setParser
public void setParser(java.lang.String p)
- Specified by:
setParser in interface AntJormCompiler
setVerifier
public void setVerifier(java.lang.String v)
- Specified by:
setVerifier in interface AntJormCompiler
setVerbose
public void setVerbose(boolean v)
- Specified by:
setVerbose in interface AntJormCompiler
setKeepSource
public void setKeepSource(boolean keepsrc)
- Specified by:
setKeepSource in interface AntJormCompiler
setIsAbstractBinding
public void setIsAbstractBinding(boolean bindingAbstract)
- Specified by:
setIsAbstractBinding in interface AntJormCompiler
setDtdLocations
public void setDtdLocations(java.util.ArrayList al)
- Specified by:
setDtdLocations in interface AntJormCompiler
setJormConfigFile
public void setJormConfigFile(java.lang.String confFile)
- Specified by:
setJormConfigFile in interface AntJormCompiler
setLoggingConfigFile
public void setLoggingConfigFile(java.lang.String logPropFile)
throws PException
- Specified by:
setLoggingConfigFile in interface AntJormCompiler
setOutput
public void setOutput(java.lang.String o)
- Specified by:
setOutput in interface AntJormCompiler
setBindingInheritance
public void setBindingInheritance(java.lang.String bi)
- Specified by:
setBindingInheritance in interface AntJormCompiler
setClassPath
public void setClassPath(org.apache.tools.ant.types.Path cp)
- Specified by:
setClassPath in interface AntJormCompiler
setMappingInheritance
public void setMappingInheritance(java.lang.String mi)
- Specified by:
setMappingInheritance in interface AntJormCompiler
setPdDirectory
public void setPdDirectory(java.io.File pdDir)
- Specified by:
setPdDirectory in interface AntJormCompiler
setIsLocalJormConfigFile
public void setIsLocalJormConfigFile(boolean localpropertiesfile)
- Specified by:
setIsLocalJormConfigFile in interface AntJormCompiler
setMustCompil
public void setMustCompil(boolean isMustCommpil)
- Specified by:
setMustCompil in interface AntJormCompiler
setExtension
public void setExtension(java.util.Map ex)
- Specified by:
setExtension in interface AntJormCompiler
setJormClasspath
public void setJormClasspath(java.lang.String jc)
- Specified by:
setJormClasspath in interface AntJormCompiler
setCompiler
public void setCompiler(java.lang.Object c)
- Specified by:
setCompiler in interface AntJormCompiler
createCompiler
public java.lang.Object createCompiler()
- Specified by:
createCompiler in interface AntJormCompiler
init
public void init()
throws org.apache.tools.ant.BuildException
- Specified by:
init in interface AntJormCompiler
generates
public void generates(java.lang.String pdFileName)
throws org.apache.tools.ant.BuildException
- Specified by:
generates in interface AntJormCompiler
compiles
public void compiles()
throws org.apache.tools.ant.BuildException
- Specified by:
compiles in interface AntJormCompiler