org.test4j.json.encoder.array
类 ArraysEncoder<T>
java.lang.Object
org.test4j.json.encoder.JSONEncoder<T>
org.test4j.json.encoder.ArrayEncoder<T>
org.test4j.json.encoder.array.ArraysEncoder<T>
- 直接已知子类:
- BooleanArrayEncoder, ByteArrayEncoder, CharArrayEncoder, DoubleArrayEncoder, FloatArrayEncoder, IntegerArrayEncoder, LongArrayEncoder, ObjectArrayEncoder, ShortArrayEncoder
public abstract class ArraysEncoder<T>
- extends ArrayEncoder<T>
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArraysEncoder
public ArraysEncoder(Class clazz)
encodeIterator
protected void encodeIterator(T target,
Writer writer,
List<String> references)
throws Exception
- 指定者:
- 类
ArrayEncoder<T> 中的 encodeIterator
- 抛出:
Exception
getArraySize
protected abstract int getArraySize(T target)
getEncoderByItem
protected abstract JSONEncoder getEncoderByItem(Object item)
getItemByIndex
protected abstract Object getItemByIndex(T target,
int index)
newInstance
public static ArraysEncoder newInstance(Class type)
Copyright © 2013. All rights reserved.