public static interface MessageMarshaller.ProtoStreamReader
Modifier and Type | Method and Description |
---|---|
SerializationContext |
getSerializationContext() |
<E> E[] |
readArray(String fieldName,
Class<? extends E> elementClass) |
Boolean |
readBoolean(String fieldName) |
byte[] |
readBytes(String fieldName) |
<E,C extends Collection<? super E>> |
readCollection(String fieldName,
C collection,
Class<E> elementClass) |
Date |
readDate(String fieldName) |
Double |
readDouble(String fieldName) |
Float |
readFloat(String fieldName) |
Integer |
readInt(String fieldName)
Can't return an
int here because the field might be declared optional and missing so we might need to
return a null . |
Long |
readLong(String fieldName) |
<E> E |
readObject(String fieldName,
Class<E> clazz) |
String |
readString(String fieldName) |
SerializationContext getSerializationContext()
Integer readInt(String fieldName) throws IOException
int
here because the field might be declared optional and missing so we might need to
return a null
.IOException
Long readLong(String fieldName) throws IOException
IOException
Date readDate(String fieldName) throws IOException
IOException
Float readFloat(String fieldName) throws IOException
IOException
Double readDouble(String fieldName) throws IOException
IOException
Boolean readBoolean(String fieldName) throws IOException
IOException
String readString(String fieldName) throws IOException
IOException
byte[] readBytes(String fieldName) throws IOException
IOException
<E> E readObject(String fieldName, Class<E> clazz) throws IOException
IOException
<E,C extends Collection<? super E>> C readCollection(String fieldName, C collection, Class<E> elementClass) throws IOException
IOException
<E> E[] readArray(String fieldName, Class<? extends E> elementClass) throws IOException
IOException
Copyright © 2016 JBoss, a division of Red Hat. All rights reserved.