java.lang.Object
de.grogra.persistence.PersistenceOutputDecorator
- All Implemented Interfaces:
PersistenceOutput
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbeginArray(int length, Type ct) voidbeginField(ManageableType.Field field) voidbooleanbeginManaged(ManageableType type, boolean writeType) voidendArray()voidendField(ManageableType.Field field) voidvoidendManaged(Object object, boolean writeType) voidsetNested(boolean nested) voidwriteBoolean(boolean value) voidwriteByte(int value) voidwriteChar(int value) voidwriteDouble(double value) voidwriteFloat(float value) voidwriteInt(int value) voidvoidwriteLong(long value) voidvoidvoidwriteObject(Object object, Type type) voidvoidvoidwriteShort(int value) booleanReturn true if static (global) fields should be writtenvoidwriteString(String value) voidwriteStringObject(String value)
-
Field Details
-
out
-
-
Constructor Details
-
PersistenceOutputDecorator
-
-
Method Details
-
beginArray
- Specified by:
beginArrayin interfacePersistenceOutput- Throws:
IOException
-
beginFields
- Specified by:
beginFieldsin interfacePersistenceOutput- Throws:
IOException
-
beginField
- Specified by:
beginFieldin interfacePersistenceOutput- Throws:
IOException
-
beginManaged
- Specified by:
beginManagedin interfacePersistenceOutput- Throws:
IOException
-
endArray
- Specified by:
endArrayin interfacePersistenceOutput- Throws:
IOException
-
endField
- Specified by:
endFieldin interfacePersistenceOutput- Throws:
IOException
-
endFields
- Specified by:
endFieldsin interfacePersistenceOutput- Throws:
IOException
-
endManaged
- Specified by:
endManagedin interfacePersistenceOutput- Throws:
IOException
-
setNested
public void setNested(boolean nested) - Specified by:
setNestedin interfacePersistenceOutput
-
writeBoolean
- Specified by:
writeBooleanin interfacePersistenceOutput- Throws:
IOException
-
writeByte
- Specified by:
writeBytein interfacePersistenceOutput- Throws:
IOException
-
writeChar
- Specified by:
writeCharin interfacePersistenceOutput- Throws:
IOException
-
writeDouble
- Specified by:
writeDoublein interfacePersistenceOutput- Throws:
IOException
-
writeFloat
- Specified by:
writeFloatin interfacePersistenceOutput- Throws:
IOException
-
writeInt
- Specified by:
writeIntin interfacePersistenceOutput- Throws:
IOException
-
writeLong
- Specified by:
writeLongin interfacePersistenceOutput- Throws:
IOException
-
writeName
- Specified by:
writeNamein interfacePersistenceOutput- Throws:
IOException
-
writeNullObject
- Specified by:
writeNullObjectin interfacePersistenceOutput- Throws:
IOException
-
writeObject
- Specified by:
writeObjectin interfacePersistenceOutput- Throws:
IOException
-
writePersistentObjectReference
- Specified by:
writePersistentObjectReferencein interfacePersistenceOutput- Throws:
IOException
-
writeShort
- Specified by:
writeShortin interfacePersistenceOutput- Throws:
IOException
-
writeString
- Specified by:
writeStringin interfacePersistenceOutput- Throws:
IOException
-
writeStringObject
- Specified by:
writeStringObjectin interfacePersistenceOutput- Throws:
IOException
-
writeLibraryObjectReference
- Specified by:
writeLibraryObjectReferencein interfacePersistenceOutput- Throws:
IOException
-
writeStatic
public boolean writeStatic()Description copied from interface:PersistenceOutputReturn true if static (global) fields should be written- Specified by:
writeStaticin interfacePersistenceOutput
-