Package org.asnlab.asndt.runtime.conv
Class AbstractCompositeConverter
java.lang.Object
org.asnlab.asndt.runtime.conv.AsnConverter
org.asnlab.asndt.runtime.conv.CompositeConverter
org.asnlab.asndt.runtime.conv.AbstractCompositeConverter
- Direct Known Subclasses:
AnnotationCompositeConverter,ReflectionCompositeConverter
-
Nested Class Summary
Nested classes/interfaces inherited from class org.asnlab.asndt.runtime.conv.CompositeConverter
CompositeConverter.CompositeConverterConverter -
Field Summary
FieldsFields 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.booleanvoidsetComponentObject(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, setComponentConverters
-
Field Details
-
objectClass
-
componentFields
-
-
Constructor Details
-
AbstractCompositeConverter
-
-
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
-
isAnonymous
public boolean isAnonymous()- Overrides:
isAnonymousin classAsnConverter
-