org.asnlab.asndt.runtime.value
Class EnumeratedValue.EnumeratedValueConverter

java.lang.Object
  extended by org.asnlab.asndt.runtime.conv.AsnConverter
      extended by org.asnlab.asndt.runtime.conv.CompositeConverter
          extended by org.asnlab.asndt.runtime.value.EnumeratedValue.EnumeratedValueConverter
Enclosing class:
EnumeratedValue

public static class EnumeratedValue.EnumeratedValueConverter
extends CompositeConverter


Nested Class Summary
 
Nested classes/interfaces inherited from class org.asnlab.asndt.runtime.conv.CompositeConverter
CompositeConverter.CompositeConverterConverter
 
Field Summary
static EnumeratedValue.EnumeratedValueConverter INSTANCE
           
 
Fields inherited from class org.asnlab.asndt.runtime.conv.CompositeConverter
componentConverters
 
Method Summary
 java.lang.Object createObject()
          Create the empty composite value object.
 java.lang.Object getComponentObject(java.lang.Object object, int index)
          Given the composite value object, and the component index, return the component value object.
 void setComponentObject(java.lang.Object object, int index, java.lang.Object componentObject)
          Set the component value object of the composite value object
 
Methods inherited from class org.asnlab.asndt.runtime.conv.CompositeConverter
getComponentConverter, setComponentConverters
 
Methods inherited from class org.asnlab.asndt.runtime.conv.AsnConverter
convert, convert, convert, convert, createAsnConverterConverter, createAsnConverterType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final EnumeratedValue.EnumeratedValueConverter INSTANCE
Method Detail

createObject

public java.lang.Object createObject()
Description copied from class: CompositeConverter
Create the empty composite value object.

Returns:
The new composite value object

getComponentObject

public java.lang.Object getComponentObject(java.lang.Object object,
                                           int index)
Description copied from class: CompositeConverter
Given the composite value object, and the component index, return the component value object.

Parameters:
object - The composite value object
index - The component index
Returns:
The component value object

setComponentObject

public void setComponentObject(java.lang.Object object,
                               int index,
                               java.lang.Object componentObject)
Description copied from class: CompositeConverter
Set the component value object of the composite value object

Parameters:
object - The composite value object
index - The component index
componentObject - The component value object


Copyright �2009-2012 ASN Lab