|
|||||||||
| 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.ListConverter
public class ListConverter
The ListConverter can convert
SEQUENCE OF/SET OF value object to/from Vector
This class is intent to be extended.
| Nested Class Summary | |
|---|---|
protected static class |
ListConverter.ListConverterConverter
|
| Constructor Summary | |
|---|---|
ListConverter()
|
|
ListConverter(AsnConverter componentConverter)
|
|
| Method Summary | |
|---|---|
void |
addComponentObject(java.lang.Object object,
java.lang.Object componentObject)
Add component object to the SEQUENCE OF/SET OF value object |
java.lang.Object |
createObject(int size)
Given the size, create a SEQUENCE OF/SET OF value object |
AsnConverter |
getComponentConverter()
Returns this ListConverter component converter. |
java.lang.Object |
getComponentObject(java.lang.Object object,
int index)
Answer the component object of the SEQUENCE OF/SET OF value object |
int |
getSize(java.lang.Object object)
Answer the size of the SEQUENCE OF/SET OF value object |
void |
setComponentConverter(AsnConverter componentConverter)
Sets this ListConverter component converter |
| 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 |
| Constructor Detail |
|---|
public ListConverter()
public ListConverter(AsnConverter componentConverter)
| Method Detail |
|---|
public void setComponentConverter(AsnConverter componentConverter)
componentConverter - The component converterpublic AsnConverter getComponentConverter()
public int getSize(java.lang.Object object)
object - The SEQUENCE OF/SET OF value object
public java.lang.Object getComponentObject(java.lang.Object object,
int index)
object - The SEQUENCE OF/SET OF value objectindex - The index of the component object
public java.lang.Object createObject(int size)
size - The size of the SEQUENCE OF/SET OF value object
public void addComponentObject(java.lang.Object object,
java.lang.Object componentObject)
object - The SEQUENCE OF/SET OF value objectcomponentObject - The component object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||