de.grogra.persistence
public interface PersistenceOutput
| Modifier and Type | Method and Description |
|---|---|
void |
beginArray(int length,
Type componentType) |
void |
beginField(ManageableType.Field field) |
void |
beginFields() |
boolean |
beginManaged(ManageableType type,
boolean writeType) |
void |
endArray() |
void |
endField(ManageableType.Field field) |
void |
endFields() |
void |
endManaged(java.lang.Object object,
boolean writeType) |
void |
setNested(boolean nested) |
void |
writeBoolean(boolean value) |
void |
writeByte(int value) |
void |
writeChar(int value) |
void |
writeDouble(double value) |
void |
writeFloat(float value) |
void |
writeInt(int value) |
void |
writeLong(long value) |
void |
writeName(java.lang.String value) |
void |
writeNullObject() |
void |
writeObject(java.lang.Object object,
Type type) |
void |
writePersistentObjectReference(PersistenceCapable o) |
void |
writeSharedObjectReference(Shareable o) |
void |
writeShort(int value) |
void |
writeString(java.lang.String value) |
void |
writeStringObject(java.lang.String value) |
void beginArray(int length,
Type componentType)
throws java.io.IOException
java.io.IOExceptionvoid beginField(ManageableType.Field field) throws java.io.IOException
java.io.IOExceptionvoid beginFields()
throws java.io.IOException
java.io.IOExceptionboolean beginManaged(ManageableType type, boolean writeType) throws java.io.IOException
java.io.IOExceptionvoid endArray()
throws java.io.IOException
java.io.IOExceptionvoid endField(ManageableType.Field field) throws java.io.IOException
java.io.IOExceptionvoid endFields()
throws java.io.IOException
java.io.IOExceptionvoid endManaged(java.lang.Object object,
boolean writeType)
throws java.io.IOException
java.io.IOExceptionvoid setNested(boolean nested)
void writeBoolean(boolean value)
throws java.io.IOException
java.io.IOExceptionvoid writeByte(int value)
throws java.io.IOException
java.io.IOExceptionvoid writeChar(int value)
throws java.io.IOException
java.io.IOExceptionvoid writeDouble(double value)
throws java.io.IOException
java.io.IOExceptionvoid writeFloat(float value)
throws java.io.IOException
java.io.IOExceptionvoid writeInt(int value)
throws java.io.IOException
java.io.IOExceptionvoid writeLong(long value)
throws java.io.IOException
java.io.IOExceptionvoid writeName(java.lang.String value)
throws java.io.IOException
java.io.IOExceptionvoid writeNullObject()
throws java.io.IOException
java.io.IOExceptionvoid writeObject(java.lang.Object object,
Type type)
throws java.io.IOException
java.io.IOExceptionvoid writePersistentObjectReference(PersistenceCapable o) throws java.io.IOException
java.io.IOExceptionvoid writeSharedObjectReference(Shareable o) throws java.io.IOException
java.io.IOExceptionvoid writeShort(int value)
throws java.io.IOException
java.io.IOExceptionvoid writeString(java.lang.String value)
throws java.io.IOException
java.io.IOExceptionvoid writeStringObject(java.lang.String value)
throws java.io.IOException
java.io.IOException