Package org.asnlab.asndt.runtime.value
Class CompositeValue.CompositeValueConverter
java.lang.Object
org.asnlab.asndt.runtime.conv.AsnConverter
org.asnlab.asndt.runtime.conv.CompositeConverter
org.asnlab.asndt.runtime.value.CompositeValue.CompositeValueConverter
- Enclosing class:
- CompositeValue
-
Nested Class Summary
Nested classes/interfaces inherited from class org.asnlab.asndt.runtime.conv.CompositeConverter
CompositeConverter.CompositeConverterConverter -
Field Summary
Fields inherited from class org.asnlab.asndt.runtime.conv.CompositeConverter
componentConverters -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate an empty composite value object.getComponentObject(Object object, int index) Given the composite value object, and the component index, return the component value object.voidsetComponentObject(Object object, int index, Object componentObject) Set the component value object of the composite value objectMethods inherited from class org.asnlab.asndt.runtime.conv.CompositeConverter
getComponentConverter, getComponentsSize, setComponentConvertersMethods inherited from class org.asnlab.asndt.runtime.conv.AsnConverter
isAnonymous
-
Constructor Details
-
CompositeValueConverter
public CompositeValueConverter() -
CompositeValueConverter
-
-
Method Details
-
createObject
Description copied from class:CompositeConverterCreate an empty composite value object.- Specified by:
createObjectin classCompositeConverter- Returns:
- The new composite value object
-
getComponentObject
Description copied from class:CompositeConverterGiven the composite value object, and the component index, return the component value object.- Specified by:
getComponentObjectin classCompositeConverter- Parameters:
object- The composite value objectindex- The component index- Returns:
- The component value object
-
setComponentObject
Description copied from class:CompositeConverterSet the component value object of the composite value object- Specified by:
setComponentObjectin classCompositeConverter- Parameters:
object- The composite value objectindex- The component indexcomponentObject- The component value object
-