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.IOExceptionLong readLong(String fieldName) throws IOException
IOExceptionDate readDate(String fieldName) throws IOException
IOExceptionFloat readFloat(String fieldName) throws IOException
IOExceptionDouble readDouble(String fieldName) throws IOException
IOExceptionBoolean readBoolean(String fieldName) throws IOException
IOExceptionString readString(String fieldName) throws IOException
IOExceptionbyte[] 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
IOExceptionCopyright © 2025 JBoss, a division of Red Hat. All rights reserved.