|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ricebridge.data.sc.StringConverterSupport
com.ricebridge.data.sc.TypeStringConverter
com.ricebridge.data.sc.TypeArrayStringConverter
com.ricebridge.data.sc.StringArrayStringConverter
Handle String array textual representations.
| Field Summary | |
protected StringStringConverter |
iStringStringConverter
Use instance of single value converter for actual conversion work. |
| Fields inherited from class com.ricebridge.data.sc.TypeArrayStringConverter |
iEscChar, iSepChar, iUseNative |
| Fields inherited from class com.ricebridge.data.sc.TypeStringConverter |
iDefault |
| Constructor Summary | |
StringArrayStringConverter()
Create array converter with standard default object. |
|
StringArrayStringConverter(String pDefault)
Create array converter with specified default wrapper object. |
|
| Method Summary | |
protected Object |
makeArray(List pValues)
Create an array object from the list of values. |
protected ArrayList |
makeList(Object pValues)
Convert an object into a List, if possible. |
protected Object |
makeTypeObjectImpl(String pValue,
boolean pUseDefault)
Type specific subclasses handle parsing. |
| Methods inherited from class com.ricebridge.data.sc.TypeArrayStringConverter |
makeDefaultObjectImpl, makeDefaultStringImpl, makeObjectImpl, makeStringImpl, setDelimiters, setUseNative |
| Methods inherited from class com.ricebridge.data.sc.TypeStringConverter |
makeTypeStringImpl, setDefault |
| Methods inherited from class com.ricebridge.data.sc.StringConverterSupport |
makeDefaultObject, makeDefaultString, makeObject, makeString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected StringStringConverter iStringStringConverter
| Constructor Detail |
public StringArrayStringConverter()
public StringArrayStringConverter(String pDefault)
pDefault - default wrapper value| Method Detail |
protected Object makeTypeObjectImpl(String pValue,
boolean pUseDefault)
throws Exception
TypeStringConverter
makeTypeObjectImpl in class TypeStringConverterExceptionprotected Object makeArray(List pValues)
TypeArrayStringConverterIf TypeArrayStringConverter.iUseNative is true, then create a native array, else a wrapper object array.
makeArray in class TypeArrayStringConverterpValues - list of valuesprotected ArrayList makeList(Object pValues)
TypeArrayStringConverterIf TypeArrayStringConverter.iUseNative is true, then assume pValues is a native array, else a wrapper object array.
makeList in class TypeArrayStringConverterpValues - object that should be a list
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||