org.test4j.json.encoder.single.spec
类 DateEncoder<T extends Date>

java.lang.Object
  继承者 org.test4j.json.encoder.JSONEncoder<T>
      继承者 org.test4j.json.encoder.SingleEncoder<T>
          继承者 org.test4j.json.encoder.single.SpecTypeEncoder<T>
              继承者 org.test4j.json.encoder.single.spec.DateEncoder<T>

public class DateEncoder<T extends Date>
extends SpecTypeEncoder<T>


字段摘要
static DateEncoder instance
           
 
从类 org.test4j.json.encoder.JSONEncoder 继承的字段
clazz, features, ignoreExplicitFieldType, quote_Char, skipNullField, unMarkClassFlag
 
方法摘要
protected  void encodeOtherProperty(T target, Writer writer)
           
protected  void encodeSingleValue(T target, Writer writer)
           
static void setDateFormat(String format)
           
 
从类 org.test4j.json.encoder.single.SpecTypeEncoder 继承的方法
encode
 
从类 org.test4j.json.encoder.SingleEncoder 继承的方法
isFinalTypeEncoder, isSpecTypeEncoder
 
从类 org.test4j.json.encoder.JSONEncoder 继承的方法
get, setFeatures, setFeatures, setUnMarkClassFlag, wrapException, writeClassFlag, writerNullOrReference, writerSpecProperty
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

instance

public static DateEncoder instance
方法详细信息

encodeSingleValue

protected void encodeSingleValue(T target,
                                 Writer writer)
                          throws Exception
指定者:
SpecTypeEncoder<T extends Date> 中的 encodeSingleValue
抛出:
Exception

encodeOtherProperty

protected void encodeOtherProperty(T target,
                                   Writer writer)
                            throws Exception
指定者:
SpecTypeEncoder<T extends Date> 中的 encodeOtherProperty
抛出:
Exception

setDateFormat

public static void setDateFormat(String format)


Copyright © 2013. All rights reserved.