org.test4j.json.encoder.single
类 FixedTypeEncoder<T>
java.lang.Object
org.test4j.json.encoder.JSONEncoder<T>
org.test4j.json.encoder.SingleEncoder<T>
org.test4j.json.encoder.single.FixedTypeEncoder<T>
- 直接已知子类:
- BigDecimalEncoder, BigIntegerEncoder, BooleanEncoder, ByteEncoder, CharEncoder, CharsetEncoder, ClazzEncoder, CompositeDataEncoder, DoubleEncoder, EnumEncoder, FloatEncoder, InetAddressEncoder, IntegerEncoder, LocaleEncoder, LongEncoder, PatternEncoder, ShortEncoder, SimpleTypeEncoder, SocketAddressEncoder, StringEncoder, TimeZoneEncoder, URIEncoder, URLEncoder, UUIDEncoder
public abstract class FixedTypeEncoder<T>
- extends SingleEncoder<T>
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FixedTypeEncoder
protected FixedTypeEncoder(Class clazz)
encode
public final boolean encode(T target,
Writer writer,
List<String> references)
- 从类
JSONEncoder 复制的描述
- 将java对象序列化为json字符串
- 指定者:
- 类
JSONEncoder<T> 中的 encode
writer - 序列化字符串输出器
- 返回:
- TODO
encodeSingleValue
protected abstract void encodeSingleValue(T target,
Writer writer)
throws Exception
- 抛出:
Exception
Copyright © 2013. All rights reserved.