java.lang.Object
de.grogra.persistence.PersistenceOutputDecorator
- All Implemented Interfaces:
PersistenceOutput
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beginArray
(int length, Type ct) void
beginField
(ManageableType.Field field) void
boolean
beginManaged
(ManageableType type, boolean writeType) void
endArray()
void
endField
(ManageableType.Field field) void
void
endManaged
(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
void
void
writeObject
(Object object, Type type) void
void
void
writeShort
(int value) void
writeString
(String value) void
writeStringObject
(String value)
-
Field Details
-
out
-
-
Constructor Details
-
PersistenceOutputDecorator
-
-
Method Details
-
beginArray
- Specified by:
beginArray
in interfacePersistenceOutput
- Throws:
IOException
-
beginFields
- Specified by:
beginFields
in interfacePersistenceOutput
- Throws:
IOException
-
beginField
- Specified by:
beginField
in interfacePersistenceOutput
- Throws:
IOException
-
beginManaged
- Specified by:
beginManaged
in interfacePersistenceOutput
- Throws:
IOException
-
endArray
- Specified by:
endArray
in interfacePersistenceOutput
- Throws:
IOException
-
endField
- Specified by:
endField
in interfacePersistenceOutput
- Throws:
IOException
-
endFields
- Specified by:
endFields
in interfacePersistenceOutput
- Throws:
IOException
-
endManaged
- Specified by:
endManaged
in interfacePersistenceOutput
- Throws:
IOException
-
setNested
public void setNested(boolean nested) - Specified by:
setNested
in interfacePersistenceOutput
-
writeBoolean
- Specified by:
writeBoolean
in interfacePersistenceOutput
- Throws:
IOException
-
writeByte
- Specified by:
writeByte
in interfacePersistenceOutput
- Throws:
IOException
-
writeChar
- Specified by:
writeChar
in interfacePersistenceOutput
- Throws:
IOException
-
writeDouble
- Specified by:
writeDouble
in interfacePersistenceOutput
- Throws:
IOException
-
writeFloat
- Specified by:
writeFloat
in interfacePersistenceOutput
- Throws:
IOException
-
writeInt
- Specified by:
writeInt
in interfacePersistenceOutput
- Throws:
IOException
-
writeLong
- Specified by:
writeLong
in interfacePersistenceOutput
- Throws:
IOException
-
writeName
- Specified by:
writeName
in interfacePersistenceOutput
- Throws:
IOException
-
writeNullObject
- Specified by:
writeNullObject
in interfacePersistenceOutput
- Throws:
IOException
-
writeObject
- Specified by:
writeObject
in interfacePersistenceOutput
- Throws:
IOException
-
writePersistentObjectReference
- Specified by:
writePersistentObjectReference
in interfacePersistenceOutput
- Throws:
IOException
-
writeShort
- Specified by:
writeShort
in interfacePersistenceOutput
- Throws:
IOException
-
writeString
- Specified by:
writeString
in interfacePersistenceOutput
- Throws:
IOException
-
writeStringObject
- Specified by:
writeStringObject
in interfacePersistenceOutput
- Throws:
IOException
-