org.codehaus.metaclass.tools.tasks
Class FormatEnum

java.lang.Object
  extended byorg.apache.tools.ant.types.EnumeratedAttribute
      extended byorg.codehaus.metaclass.tools.tasks.FormatEnum

public class FormatEnum
extends org.apache.tools.ant.types.EnumeratedAttribute

This is an enumeration that gives the option of either outputting as xml or as a serialized format.

Version:
$Revision: 1.6 $ $Date: 2003/12/11 08:41:50 $
Author:
Peter Donald

Field Summary
 
Fields inherited from class org.apache.tools.ant.types.EnumeratedAttribute
value
 
Constructor Summary
FormatEnum()
           
 
Method Summary
 int getTypeCode()
          Return type code for format.
 java.lang.String[] getValues()
          Return the set of valid values.
 
Methods inherited from class org.apache.tools.ant.types.EnumeratedAttribute
containsValue, getIndex, getValue, indexOfValue, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FormatEnum

public FormatEnum()
Method Detail

getTypeCode

public int getTypeCode()
Return type code for format.

Returns:
the typecode

getValues

public java.lang.String[] getValues()
Return the set of valid values.

Returns:
the set of valid values.


Copyright © 2003-2004 Codehaus. All Rights Reserved.