org.apache.avalon.meta.info.ant
Class FormatEnum

java.lang.Object
  extended byorg.apache.tools.ant.types.EnumeratedAttribute
      extended byorg.apache.avalon.meta.info.ant.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.2 $ $Date: 2004/02/21 13:27:04 $
Author:
Avalon Development Team

Field Summary
 
Fields inherited from class org.apache.tools.ant.types.EnumeratedAttribute
value
 
Constructor Summary
FormatEnum()
           
 
Method Summary
 int getTypeCode()
          Return the external form code.
 String[] getValues()
          Return a string reparesentation of of the enumberation.
 
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 the external form code.

Returns:
an int value corresponding to a serial or XML type enumeration

getValues

public String[] getValues()
Return a string reparesentation of of the enumberation.

Returns:
the enumeration as a string


Copyright © The Apache Software Foundation. All Rights Reserved.