类的使用
org.redkale.convert.EnMember
-
使用EnMember的程序包 程序包 说明 org.redkale.convert 提供数据的序列化和反解析功能org.redkale.convert.json 提供JSON的序列化和反解析功能org.redkale.convert.pb -
-
org.redkale.convert中EnMember的使用
声明为EnMember的org.redkale.convert中的字段 修饰符和类型 字段 说明 protected EnMember[]
ObjectEncoder. members
返回EnMember的org.redkale.convert中的方法 修饰符和类型 方法 说明 static <W extends Writer,T,F>
EnMember<W,T,F>EnMember. create(ConvertFactory factory, Class<T> clazz, String fieldname)
static <W extends Writer,T,F>
EnMember<W,T,F>EnMember. create(ConvertFactory factory, Class<T> clazz, String fieldname, Class<F> fieldtype)
static <W extends Writer,T,F>
EnMember<W,T,F>EnMember. create(Attribute<T,F> attribute, ConvertFactory factory, Class<F> fieldtype)
EnMember[]
ObjectEncoder. getMembers()
参数类型为EnMember的org.redkale.convert中的方法 修饰符和类型 方法 说明 int
EnMember. compareTo(boolean fieldSort, EnMember<W,T,F> o)
void
ArrayEncoder. convertTo(W out, EnMember member, T[] value)
void
CollectionEncoder. convertTo(W out, EnMember member, Collection<T> value)
void
MapEncoder. convertTo(W out, EnMember member, Map<K,V> value)
void
StreamEncoder. convertTo(W out, EnMember member, Stream<T> value)
protected void
ObjectEncoder. initFieldMember(EnMember[] enMembers)
protected void
ObjectEncoder. initForEachEnMember(ConvertFactory factory, EnMember member)
protected void
MapEncoder. setIndex(EnMember member, int index)
protected void
ObjectEncoder. setIndex(EnMember member, int index)
protected void
MapEncoder. setPosition(EnMember member, int position)
protected void
ObjectEncoder. setPosition(EnMember member, int position)
protected void
MapEncoder. setTag(EnMember member, int tag)
protected void
ObjectEncoder. setTag(EnMember member, int tag)
protected void
MapEncoder. setTagSize(EnMember member, int tagSize)
protected void
ObjectEncoder. setTagSize(EnMember member, int tagSize)
void
Writer. writeField(EnMember member)
输出一个字段名abstract void
Writer. writeField(EnMember member, String fieldName, Type fieldType, int fieldPos)
输出一个字段名void
Writer. writeObjectField(EnMember member, Object obj)
输出一个对象的某个字段 -
org.redkale.convert.json中EnMember的使用
参数类型为EnMember的org.redkale.convert.json中的方法 修饰符和类型 方法 说明 void
JsonBytesWriter. writeField(EnMember member, String fieldName, Type fieldType, int fieldPos)
void
JsonWriter. writeField(EnMember member, String fieldName, Type fieldType, int fieldPos)
-
org.redkale.convert.pb中EnMember的使用
参数类型为EnMember的org.redkale.convert.pb中的方法 修饰符和类型 方法 说明 protected ProtobufWriter
ProtobufObjectEncoder. acceptWriter(ProtobufWriter out, EnMember member, T value)
protected void
ProtobufArrayEncoder. convertObjectTo(ProtobufWriter out, EnMember member, T[] value)
protected void
ProtobufCollectionEncoder. convertObjectTo(ProtobufWriter out, EnMember member, Collection<T> value)
protected void
ProtobufStreamEncoder. convertObjectTo(ProtobufWriter out, EnMember member, Object[] value)
protected void
ProtobufArrayEncoder. convertPrimitivedTo(ProtobufWriter out, EnMember member, T[] value)
protected void
ProtobufCollectionEncoder. convertPrimitivedTo(ProtobufWriter out, EnMember member, Collection<T> value)
protected void
ProtobufStreamEncoder. convertPrimitivedTo(ProtobufWriter out, EnMember member, Object[] value)
void
ProtobufArrayEncoder. convertTo(ProtobufWriter out, EnMember member, T[] value)
void
ProtobufCollectionEncoder. convertTo(ProtobufWriter out, EnMember member, Collection<T> value)
abstract void
ProtobufDynEncoder. convertTo(ProtobufWriter out, EnMember member, T value)
default void
ProtobufEncodeable. convertTo(W out, EnMember member, T value)
void
ProtobufMapEncoder. convertTo(ProtobufWriter out, EnMember member, Map<K,V> value)
void
ProtobufObjectEncoder. convertTo(ProtobufWriter out, EnMember member, T value)
void
ProtobufStreamEncoder. convertTo(ProtobufWriter out, EnMember member, Stream<T> value)
protected void
ProtobufObjectEncoder. initForEachEnMember(ConvertFactory factory, EnMember member)
void
ProtobufWriter. writeField(EnMember member)
输出一个字段名void
ProtobufWriter. writeField(EnMember member, String fieldName, Type fieldType, int fieldPos)
void
ProtobufWriter. writeObjectField(EnMember member, Object obj)
类型变量类型为EnMember的org.redkale.convert.pb中的方法参数 修饰符和类型 方法 说明 protected void
ProtobufConvert. defineJsonEncodeDescriptor(Type parent, List<String> list, Type type, StringBuilder sb, String prefix, BiFunction<Type,EnMember,Boolean> excludeFunc)
protected void
ProtobufConvert. defineProtoDescriptor(Type parent, List<String> list, Type type, StringBuilder sb, String prefix, BiFunction<Type,EnMember,Boolean> excludeFunc)
protected String
ProtobufConvert. defineProtoDescriptor(Type parent, List<String> list, Type type, BiFunction<Type,EnMember,Boolean> func)
String
ProtobufConvert. getJsonEncodeDescriptor(Type type, BiFunction<Type,EnMember,Boolean> func)
protected String
ProtobufConvert. getJsonEncodeDescriptor(Type parent, List<String> list, Type type, BiFunction<Type,EnMember,Boolean> func)
-