|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.asnlab.asndt.runtime.conv.AsnConverter
org.asnlab.asndt.runtime.conv.CompositeConverter
public abstract class CompositeConverter
The CompositeConverter can convert
composite value. This class is intent to be extended.
| Nested Class Summary | |
|---|---|
protected static class |
CompositeConverter.CompositeConverterConverter
|
| Field Summary | |
|---|---|
protected AsnConverter[] |
componentConverters
The component converters |
| Constructor Summary | |
|---|---|
CompositeConverter()
|
|
CompositeConverter(AsnConverter[] componentConverters)
|
|
| Method Summary | |
|---|---|
abstract java.lang.Object |
createObject()
Create the empty composite value object. |
AsnConverter |
getComponentConverter(int index)
Returns this CompositeConverter's component converters. |
abstract 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 |
setComponentConverters(AsnConverter[] componentConverters)
Sets this CompositeConverter's component converters |
abstract 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.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 |
|---|
protected AsnConverter[] componentConverters
| Constructor Detail |
|---|
public CompositeConverter()
public CompositeConverter(AsnConverter[] componentConverters)
| Method Detail |
|---|
public void setComponentConverters(AsnConverter[] componentConverters)
componentConverters - The component converterspublic AsnConverter getComponentConverter(int index)
public abstract java.lang.Object createObject()
public abstract java.lang.Object getComponentObject(java.lang.Object object,
int index)
object - The composite value objectindex - The component index
public abstract void setComponentObject(java.lang.Object object,
int index,
java.lang.Object componentObject)
object - The composite value objectindex - The component indexcomponentObject - The component value object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||