org.apache.tools.ant.taskdefs.optional.dotnet

Class WsdlToDotnet.Compiler

public static class WsdlToDotnet.Compiler extends EnumeratedAttribute

The enumerated values for our compiler
Field Summary
static StringCOMPILER_MONO
mono
static StringCOMPILER_MS
microsoft
static StringCOMPILER_MS_ON_MONO
microsoft-on-mono
static StringEXE_MONO
MONO
static StringEXE_WSDL
WSDL
Method Summary
voidapplyExtraArgs(NetCommand command)
apply any extra arguments of this class
static WsdlToDotnet.CompilercreateDefaultCompiler()
Create the default compiler for this platform.
StringgetCommand()
return the command to run
String[]getExtraArgs()
return any extra arguments for the compiler
String[]getValues()
This is the only method a subclass needs to implement.
booleansupportsAbsoluteFiles()
Get where the current value supports absolute files.

Field Detail

COMPILER_MONO

public static final String COMPILER_MONO
mono

COMPILER_MS

public static final String COMPILER_MS
microsoft

COMPILER_MS_ON_MONO

public static final String COMPILER_MS_ON_MONO
microsoft-on-mono

EXE_MONO

public static final String EXE_MONO
MONO

EXE_WSDL

public static final String EXE_WSDL
WSDL

Method Detail

applyExtraArgs

public void applyExtraArgs(NetCommand command)
apply any extra arguments of this class

Parameters: command the command to apply the arguments to.

createDefaultCompiler

public static WsdlToDotnet.Compiler createDefaultCompiler()
Create the default compiler for this platform.

Returns: the default compiler

getCommand

public String getCommand()
return the command to run

Returns: the command

getExtraArgs

public String[] getExtraArgs()
return any extra arguments for the compiler

Returns: extra compiler arguments

getValues

public String[] getValues()
This is the only method a subclass needs to implement.

Returns: an array holding all possible values of the enumeration. The order of elements must be fixed so that indexOfValue(String) always return the same index for the same value.

supportsAbsoluteFiles

public boolean supportsAbsoluteFiles()
Get where the current value supports absolute files.

Returns: true if the compiler does supports absolute files.