Class AbstractXmlAdapter.EnumIoMapped<T extends Enum<T>>

java.lang.Object
jmri.configurexml.AbstractXmlAdapter.EnumIO<T>
jmri.configurexml.AbstractXmlAdapter.EnumIoMapped<T>
Type Parameters:
T - generic enum class.
Enclosing class:
AbstractXmlAdapter

public static class AbstractXmlAdapter.EnumIoMapped<T extends Enum<T>>
extends AbstractXmlAdapter.EnumIO<T>
Support for Enum I/O to XML using explicit mapping.

This converts to and from ordinal numbers so the order of definitions in the enum has to match up with the (former) constant values.