public abstract class AbstractWriters<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
Class<T[]> |
arrayClass |
SchemaWriter<T[]> |
arrayWriter |
SchemaWriter<Collection<T>> |
collectionWriter |
protected io.protostuff.compiler.model.Field |
protoField |
SchemaWriter<String[]> |
stringArrayWriter |
protected int |
tag |
protected int |
tagSize |
| Constructor and Description |
|---|
AbstractWriters(io.protostuff.compiler.model.Field protoField) |
AbstractWriters(io.protostuff.compiler.model.Field protoField,
Class<T[]> arrayClass) |
protected final io.protostuff.compiler.model.Field protoField
protected final int tag
protected final int tagSize
public SchemaWriter<T[]> arrayWriter
public SchemaWriter<Collection<T>> collectionWriter
public SchemaWriter<String[]> stringArrayWriter
public AbstractWriters(io.protostuff.compiler.model.Field protoField)
public void dynamicWriteTo(OutputEx output, Object value) throws IOException
IOExceptionCopyright © 2017–2019 The Apache Software Foundation. All rights reserved.