public static interface MessageMarshaller.ProtoStreamWriter
Modifier and Type | Method and Description |
---|---|
ImmutableSerializationContext |
getSerializationContext() |
<E> void |
writeArray(String fieldName,
E[] array,
Class<? extends E> elementClass) |
void |
writeBoolean(String fieldName,
boolean value) |
void |
writeBoolean(String fieldName,
Boolean value) |
void |
writeBooleans(String fieldName,
boolean[] values) |
void |
writeBytes(String fieldName,
byte[] value) |
void |
writeBytes(String fieldName,
InputStream input) |
<E> void |
writeCollection(String fieldName,
Collection<? super E> collection,
Class<E> elementClass) |
void |
writeDate(String fieldName,
Date value) |
void |
writeDouble(String fieldName,
double value) |
void |
writeDouble(String fieldName,
Double value) |
void |
writeDoubles(String fieldName,
double[] values) |
<E extends Enum<E>> |
writeEnum(String fieldName,
E value,
Class<E> clazz) |
void |
writeFloat(String fieldName,
float value) |
void |
writeFloat(String fieldName,
Float value) |
void |
writeFloats(String fieldName,
float[] values) |
void |
writeInstant(String fieldName,
Instant value) |
void |
writeInt(String fieldName,
int value) |
void |
writeInt(String fieldName,
Integer value) |
void |
writeInts(String fieldName,
int[] values) |
void |
writeLong(String fieldName,
long value) |
void |
writeLong(String fieldName,
Long value) |
void |
writeLongs(String fieldName,
long[] values) |
<E> void |
writeObject(String fieldName,
E value,
Class<? extends E> clazz) |
void |
writeString(String fieldName,
String value) |
ImmutableSerializationContext getSerializationContext()
void writeInt(String fieldName, int value) throws IOException
IOException
void writeInt(String fieldName, Integer value) throws IOException
IOException
void writeInts(String fieldName, int[] values) throws IOException
IOException
void writeLong(String fieldName, long value) throws IOException
IOException
void writeLong(String fieldName, Long value) throws IOException
IOException
void writeLongs(String fieldName, long[] values) throws IOException
IOException
void writeDate(String fieldName, Date value) throws IOException
IOException
void writeInstant(String fieldName, Instant value) throws IOException
IOException
void writeDouble(String fieldName, double value) throws IOException
IOException
void writeDouble(String fieldName, Double value) throws IOException
IOException
void writeDoubles(String fieldName, double[] values) throws IOException
IOException
void writeFloat(String fieldName, float value) throws IOException
IOException
void writeFloat(String fieldName, Float value) throws IOException
IOException
void writeFloats(String fieldName, float[] values) throws IOException
IOException
void writeBoolean(String fieldName, boolean value) throws IOException
IOException
void writeBoolean(String fieldName, Boolean value) throws IOException
IOException
void writeBooleans(String fieldName, boolean[] values) throws IOException
IOException
void writeString(String fieldName, String value) throws IOException
IOException
void writeBytes(String fieldName, byte[] value) throws IOException
IOException
void writeBytes(String fieldName, InputStream input) throws IOException
IOException
<E> void writeObject(String fieldName, E value, Class<? extends E> clazz) throws IOException
IOException
<E extends Enum<E>> void writeEnum(String fieldName, E value, Class<E> clazz) throws IOException
IOException
<E> void writeCollection(String fieldName, Collection<? super E> collection, Class<E> elementClass) throws IOException
IOException
<E> void writeArray(String fieldName, E[] array, Class<? extends E> elementClass) throws IOException
IOException
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.