de.grogra.persistence
Class PersistenceOutputDecorator
java.lang.Object
de.grogra.persistence.PersistenceOutputDecorator
- All Implemented Interfaces:
- PersistenceOutput
public class PersistenceOutputDecorator
- extends java.lang.Object
- implements PersistenceOutput
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
out
protected final PersistenceOutput out
PersistenceOutputDecorator
public PersistenceOutputDecorator(PersistenceOutput out)
beginArray
public void beginArray(int length,
Type ct)
throws java.io.IOException
- Specified by:
beginArray
in interface PersistenceOutput
- Throws:
java.io.IOException
beginField
public void beginField(ManageableType.Field field)
throws java.io.IOException
- Specified by:
beginField
in interface PersistenceOutput
- Throws:
java.io.IOException
beginFields
public void beginFields()
throws java.io.IOException
- Specified by:
beginFields
in interface PersistenceOutput
- Throws:
java.io.IOException
beginManaged
public boolean beginManaged(ManageableType type,
boolean writeType)
throws java.io.IOException
- Specified by:
beginManaged
in interface PersistenceOutput
- Throws:
java.io.IOException
endArray
public void endArray()
throws java.io.IOException
- Specified by:
endArray
in interface PersistenceOutput
- Throws:
java.io.IOException
endField
public void endField(ManageableType.Field field)
throws java.io.IOException
- Specified by:
endField
in interface PersistenceOutput
- Throws:
java.io.IOException
endFields
public void endFields()
throws java.io.IOException
- Specified by:
endFields
in interface PersistenceOutput
- Throws:
java.io.IOException
endManaged
public void endManaged(java.lang.Object object,
boolean writeType)
throws java.io.IOException
- Specified by:
endManaged
in interface PersistenceOutput
- Throws:
java.io.IOException
setNested
public void setNested(boolean nested)
- Specified by:
setNested
in interface PersistenceOutput
writeBoolean
public void writeBoolean(boolean value)
throws java.io.IOException
- Specified by:
writeBoolean
in interface PersistenceOutput
- Throws:
java.io.IOException
writeByte
public void writeByte(int value)
throws java.io.IOException
- Specified by:
writeByte
in interface PersistenceOutput
- Throws:
java.io.IOException
writeChar
public void writeChar(int value)
throws java.io.IOException
- Specified by:
writeChar
in interface PersistenceOutput
- Throws:
java.io.IOException
writeDouble
public void writeDouble(double value)
throws java.io.IOException
- Specified by:
writeDouble
in interface PersistenceOutput
- Throws:
java.io.IOException
writeFloat
public void writeFloat(float value)
throws java.io.IOException
- Specified by:
writeFloat
in interface PersistenceOutput
- Throws:
java.io.IOException
writeInt
public void writeInt(int value)
throws java.io.IOException
- Specified by:
writeInt
in interface PersistenceOutput
- Throws:
java.io.IOException
writeLong
public void writeLong(long value)
throws java.io.IOException
- Specified by:
writeLong
in interface PersistenceOutput
- Throws:
java.io.IOException
writeName
public void writeName(java.lang.String value)
throws java.io.IOException
- Specified by:
writeName
in interface PersistenceOutput
- Throws:
java.io.IOException
writeNullObject
public void writeNullObject()
throws java.io.IOException
- Specified by:
writeNullObject
in interface PersistenceOutput
- Throws:
java.io.IOException
writeObject
public void writeObject(java.lang.Object object,
Type type)
throws java.io.IOException
- Specified by:
writeObject
in interface PersistenceOutput
- Throws:
java.io.IOException
writePersistentObjectReference
public void writePersistentObjectReference(PersistenceCapable o)
throws java.io.IOException
- Specified by:
writePersistentObjectReference
in interface PersistenceOutput
- Throws:
java.io.IOException
writeSharedObjectReference
public void writeSharedObjectReference(Shareable o)
throws java.io.IOException
- Specified by:
writeSharedObjectReference
in interface PersistenceOutput
- Throws:
java.io.IOException
writeShort
public void writeShort(int value)
throws java.io.IOException
- Specified by:
writeShort
in interface PersistenceOutput
- Throws:
java.io.IOException
writeString
public void writeString(java.lang.String value)
throws java.io.IOException
- Specified by:
writeString
in interface PersistenceOutput
- Throws:
java.io.IOException
writeStringObject
public void writeStringObject(java.lang.String value)
throws java.io.IOException
- Specified by:
writeStringObject
in interface PersistenceOutput
- Throws:
java.io.IOException