org.fudgemsg.xml
Enum FudgeXMLSettings.XMLFieldAttribute

java.lang.Object
  extended by java.lang.Enum<FudgeXMLSettings.XMLFieldAttribute>
      extended by org.fudgemsg.xml.FudgeXMLSettings.XMLFieldAttribute
All Implemented Interfaces:
Serializable, Comparable<FudgeXMLSettings.XMLFieldAttribute>
Enclosing class:
FudgeXMLSettings

protected static enum FudgeXMLSettings.XMLFieldAttribute
extends Enum<FudgeXMLSettings.XMLFieldAttribute>

Attributes available for a field element.


Enum Constant Summary
ENCODING
          The field encoding.
NAME
          The field name.
ORDINAL
          The field ordinal index.
TYPE
          The field type.
 
Method Summary
static FudgeXMLSettings.XMLFieldAttribute valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FudgeXMLSettings.XMLFieldAttribute[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NAME

public static final FudgeXMLSettings.XMLFieldAttribute NAME
The field name.


ORDINAL

public static final FudgeXMLSettings.XMLFieldAttribute ORDINAL
The field ordinal index.


TYPE

public static final FudgeXMLSettings.XMLFieldAttribute TYPE
The field type.


ENCODING

public static final FudgeXMLSettings.XMLFieldAttribute ENCODING
The field encoding.

Method Detail

values

public static FudgeXMLSettings.XMLFieldAttribute[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (FudgeXMLSettings.XMLFieldAttribute c : FudgeXMLSettings.XMLFieldAttribute.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static FudgeXMLSettings.XMLFieldAttribute valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright 2009-Present by OpenGamma Inc. and individual contributors
Released under the Apache License, Version 2.0