com.arjuna.orbportability.common.ant
Class IDLCompiler.IDLCompilerDetails

java.lang.Object
  extended by com.arjuna.orbportability.common.ant.IDLCompiler.IDLCompilerDetails
Enclosing class:
IDLCompiler

public class IDLCompiler.IDLCompilerDetails
extends Object


Field Summary
protected  String _compilerExe
           
protected  Hashtable _forEachMapping
           
protected  Hashtable _inParameters
           
protected  String _orbName
           
protected  ArrayList _outParameters
           
protected  Hashtable _parameterValueMap
           
 
Constructor Summary
IDLCompiler.IDLCompilerDetails()
           
 
Method Summary
 void addInParameter(String param, boolean required, String delimiter, boolean isClasspath, String replace)
           
 void addOutParameter(ArrayList params)
           
 void addOutParameter(ArrayList params, String forEach)
           
 void addOutParameter(String param)
           
 void addOutParameter(String param, String forEach)
           
 String getCompilerExecutable()
           
 com.arjuna.orbportability.common.ant.IDLCompiler.IDLCompilerDetails.InParameterDetails getInParameter(String param)
           
 String getORBName()
           
 String[] parse(String filename, String destDir, String packageName, String parameters, String mappings)
          Passed the parameters line from the ANT build file, e.g.
 String replaceVariables(String data, Hashtable variableValueMap, HashSet usedParameters)
           
protected  com.arjuna.orbportability.common.ant.IDLCompiler.IDLCompilerDetails.InParameterDetails setAndFlagParameter(String param, String value, Hashtable map)
           
 void setForEach(String param, String forEach)
           
 void setIDLExecutable(String idlExe)
           
 void setORBName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_orbName

protected String _orbName

_compilerExe

protected String _compilerExe

_inParameters

protected Hashtable _inParameters

_outParameters

protected ArrayList _outParameters

_parameterValueMap

protected Hashtable _parameterValueMap

_forEachMapping

protected Hashtable _forEachMapping
Constructor Detail

IDLCompiler.IDLCompilerDetails

public IDLCompiler.IDLCompilerDetails()
Method Detail

setIDLExecutable

public void setIDLExecutable(String idlExe)

setORBName

public void setORBName(String name)

getORBName

public String getORBName()

getCompilerExecutable

public String getCompilerExecutable()
                             throws Exception
Throws:
Exception

addInParameter

public void addInParameter(String param,
                           boolean required,
                           String delimiter,
                           boolean isClasspath,
                           String replace)

getInParameter

public com.arjuna.orbportability.common.ant.IDLCompiler.IDLCompilerDetails.InParameterDetails getInParameter(String param)

addOutParameter

public void addOutParameter(String param)

addOutParameter

public void addOutParameter(String param,
                            String forEach)

setForEach

public void setForEach(String param,
                       String forEach)

addOutParameter

public void addOutParameter(ArrayList params)

addOutParameter

public void addOutParameter(ArrayList params,
                            String forEach)

setAndFlagParameter

protected com.arjuna.orbportability.common.ant.IDLCompiler.IDLCompilerDetails.InParameterDetails setAndFlagParameter(String param,
                                                                                                                     String value,
                                                                                                                     Hashtable map)

parse

public String[] parse(String filename,
                      String destDir,
                      String packageName,
                      String parameters,
                      String mappings)
               throws BuildException
Passed the parameters line from the ANT build file, e.g. parameter='value',parameter2='value2',...

Throws:
BuildException

replaceVariables

public String replaceVariables(String data,
                               Hashtable variableValueMap,
                               HashSet usedParameters)
                        throws Exception
Throws:
Exception


Copyright © 2011. All Rights Reserved.