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.boolean
void
setComponentObject
(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:CompositeConverter
Create an empty composite value object.- Specified by:
createObject
in classCompositeConverter
- Returns:
- The new composite value object
-
getComponentObject
Description copied from class:CompositeConverter
Given the composite value object, and the component index, return the component value object.- Specified by:
getComponentObject
in classCompositeConverter
- Parameters:
object
- The composite value objectindex
- The component index- Returns:
- The component value object
-
setComponentObject
Description copied from class:CompositeConverter
Set the component value object of the composite value object- Specified by:
setComponentObject
in classCompositeConverter
- Parameters:
object
- The composite value objectindex
- The component indexcomponentObject
- The component value object
-
isAnonymous
public boolean isAnonymous()- Overrides:
isAnonymous
in classAsnConverter
-