de.grogra.persistence
public class PersistenceOutputDecorator extends java.lang.Object implements PersistenceOutput
| Modifier and Type | Field and Description |
|---|---|
protected PersistenceOutput |
out |
| Constructor and Description |
|---|
PersistenceOutputDecorator(PersistenceOutput out) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginArray(int length,
Type ct) |
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) |
protected final PersistenceOutput out
public PersistenceOutputDecorator(PersistenceOutput out)
public void beginArray(int length,
Type ct)
throws java.io.IOException
beginArray in interface PersistenceOutputjava.io.IOExceptionpublic void beginField(ManageableType.Field field) throws java.io.IOException
beginField in interface PersistenceOutputjava.io.IOExceptionpublic void beginFields()
throws java.io.IOException
beginFields in interface PersistenceOutputjava.io.IOExceptionpublic boolean beginManaged(ManageableType type, boolean writeType) throws java.io.IOException
beginManaged in interface PersistenceOutputjava.io.IOExceptionpublic void endArray()
throws java.io.IOException
endArray in interface PersistenceOutputjava.io.IOExceptionpublic void endField(ManageableType.Field field) throws java.io.IOException
endField in interface PersistenceOutputjava.io.IOExceptionpublic void endFields()
throws java.io.IOException
endFields in interface PersistenceOutputjava.io.IOExceptionpublic void endManaged(java.lang.Object object,
boolean writeType)
throws java.io.IOException
endManaged in interface PersistenceOutputjava.io.IOExceptionpublic void setNested(boolean nested)
setNested in interface PersistenceOutputpublic void writeBoolean(boolean value)
throws java.io.IOException
writeBoolean in interface PersistenceOutputjava.io.IOExceptionpublic void writeByte(int value)
throws java.io.IOException
writeByte in interface PersistenceOutputjava.io.IOExceptionpublic void writeChar(int value)
throws java.io.IOException
writeChar in interface PersistenceOutputjava.io.IOExceptionpublic void writeDouble(double value)
throws java.io.IOException
writeDouble in interface PersistenceOutputjava.io.IOExceptionpublic void writeFloat(float value)
throws java.io.IOException
writeFloat in interface PersistenceOutputjava.io.IOExceptionpublic void writeInt(int value)
throws java.io.IOException
writeInt in interface PersistenceOutputjava.io.IOExceptionpublic void writeLong(long value)
throws java.io.IOException
writeLong in interface PersistenceOutputjava.io.IOExceptionpublic void writeName(java.lang.String value)
throws java.io.IOException
writeName in interface PersistenceOutputjava.io.IOExceptionpublic void writeNullObject()
throws java.io.IOException
writeNullObject in interface PersistenceOutputjava.io.IOExceptionpublic void writeObject(java.lang.Object object,
Type type)
throws java.io.IOException
writeObject in interface PersistenceOutputjava.io.IOExceptionpublic void writePersistentObjectReference(PersistenceCapable o) throws java.io.IOException
writePersistentObjectReference in interface PersistenceOutputjava.io.IOExceptionpublic void writeSharedObjectReference(Shareable o) throws java.io.IOException
writeSharedObjectReference in interface PersistenceOutputjava.io.IOExceptionpublic void writeShort(int value)
throws java.io.IOException
writeShort in interface PersistenceOutputjava.io.IOExceptionpublic void writeString(java.lang.String value)
throws java.io.IOException
writeString in interface PersistenceOutputjava.io.IOExceptionpublic void writeStringObject(java.lang.String value)
throws java.io.IOException
writeStringObject in interface PersistenceOutputjava.io.IOException