org.apache.ant.dotnet.compile
Class WsdlToDotnet.Compiler

java.lang.Object
  extended by org.apache.tools.ant.types.EnumeratedAttribute
      extended by org.apache.ant.dotnet.compile.WsdlToDotnet.Compiler
Enclosing class:
WsdlToDotnet

public static class WsdlToDotnet.Compiler
extends org.apache.tools.ant.types.EnumeratedAttribute

The enumerated values for our compiler


Field Summary
static java.lang.String COMPILER_MONO
           
static java.lang.String COMPILER_MS
           
static java.lang.String COMPILER_MS_ON_MONO
           
static java.lang.String EXE_MONO
           
static java.lang.String EXE_WSDL
           
 
Fields inherited from class org.apache.tools.ant.types.EnumeratedAttribute
value
 
Constructor Summary
WsdlToDotnet.Compiler()
           
 
Method Summary
 void applyExtraArgs(NetCommand command)
          apply any extra arguments of this class
static WsdlToDotnet.Compiler createDefaultCompiler()
          Create the default compiler for this platform.
 java.lang.String getCommand()
          return the command to run
 java.lang.String[] getExtraArgs()
          return any extra arguments for the compiler
 java.lang.String[] getValues()
          This is the only method a subclass needs to implement.
 boolean supportsAbsoluteFiles()
           
 
Methods inherited from class org.apache.tools.ant.types.EnumeratedAttribute
containsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COMPILER_MS

public static final java.lang.String COMPILER_MS
See Also:
Constant Field Values

COMPILER_MONO

public static final java.lang.String COMPILER_MONO
See Also:
Constant Field Values

COMPILER_MS_ON_MONO

public static final java.lang.String COMPILER_MS_ON_MONO
See Also:
Constant Field Values

EXE_WSDL

public static final java.lang.String EXE_WSDL
See Also:
Constant Field Values

EXE_MONO

public static final java.lang.String EXE_MONO
See Also:
Constant Field Values
Constructor Detail

WsdlToDotnet.Compiler

public WsdlToDotnet.Compiler()
Method Detail

getValues

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

Specified by:
getValues in class org.apache.tools.ant.types.EnumeratedAttribute
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.

createDefaultCompiler

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

Returns:
the default compiler

getCommand

public java.lang.String getCommand()
return the command to run

Returns:
the command

getExtraArgs

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

Returns:
extra compiler arguments

supportsAbsoluteFiles

public boolean supportsAbsoluteFiles()

applyExtraArgs

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

Parameters:
command -