java.lang.Object
de.grogra.persistence.PersistenceInputDecorator
- All Implemented Interfaces:
PersistenceInput
-
Field Summary
Fields inherited from interface de.grogra.persistence.PersistenceInput
ARRAY_OBJECT, MANAGEABLE_OBJECT, MIN_UNUSED_KIND, NULL_OBJECT, PERSISTENT_OBJECT_ID, PLAIN_OBJECT, SERIALIZED_OBJECT, SHARED_OBJECT_REFERENCE, STRING_OBJECT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
boolean
beginComponent
(ManageableType.ArrayComponent c, int index) beginField
(ManageableType type, ManageableType.Field field) void
endArray()
void
void
endField()
void
int
boolean
byte
readByte()
char
readChar()
double
float
int
readInt()
long
readLong()
readName()
readObject
(int kind, Type type) long
short
int
int
resolveId
(long inputId) void
setNested
(boolean nested)
-
Field Details
-
in
-
-
Constructor Details
-
PersistenceInputDecorator
-
-
Method Details
-
getNextObjectKind
- Specified by:
getNextObjectKind
in interfacePersistenceInput
- Throws:
IOException
-
getBindings
- Specified by:
getBindings
in interfacePersistenceInput
-
beginArray
- Specified by:
beginArray
in interfacePersistenceInput
- Throws:
IOException
-
beginComponent
- Specified by:
beginComponent
in interfacePersistenceInput
- Throws:
IOException
-
endComponent
- Specified by:
endComponent
in interfacePersistenceInput
- Throws:
IOException
-
endArray
- Specified by:
endArray
in interfacePersistenceInput
- Throws:
IOException
-
readBoolean
- Specified by:
readBoolean
in interfacePersistenceInput
- Throws:
IOException
-
readByte
- Specified by:
readByte
in interfacePersistenceInput
- Throws:
IOException
-
readChar
- Specified by:
readChar
in interfacePersistenceInput
- Throws:
IOException
-
readDouble
- Specified by:
readDouble
in interfacePersistenceInput
- Throws:
IOException
-
readFloat
- Specified by:
readFloat
in interfacePersistenceInput
- Throws:
IOException
-
readInt
- Specified by:
readInt
in interfacePersistenceInput
- Throws:
IOException
-
readLong
- Specified by:
readLong
in interfacePersistenceInput
- Throws:
IOException
-
beginManaged
- Specified by:
beginManaged
in interfacePersistenceInput
- Throws:
IOException
-
areFieldsProvided
public boolean areFieldsProvided()- Specified by:
areFieldsProvided
in interfacePersistenceInput
-
beginField
public ManageableType.Field beginField(ManageableType type, ManageableType.Field field) throws IOException - Specified by:
beginField
in interfacePersistenceInput
- Throws:
IOException
-
endField
- Specified by:
endField
in interfacePersistenceInput
- Throws:
IOException
-
endManaged
- Specified by:
endManaged
in interfacePersistenceInput
- Throws:
IOException
-
readName
- Specified by:
readName
in interfacePersistenceInput
- Throws:
IOException
-
readObject
- Specified by:
readObject
in interfacePersistenceInput
- Throws:
IOException
-
readPersistentObjectId
- Specified by:
readPersistentObjectId
in interfacePersistenceInput
- Throws:
IOException
-
readPersistentObject
- Specified by:
readPersistentObject
in interfacePersistenceInput
- Throws:
IOException
-
readShort
- Specified by:
readShort
in interfacePersistenceInput
- Throws:
IOException
-
readString
- Specified by:
readString
in interfacePersistenceInput
- Throws:
IOException
-
readUnsignedByte
- Specified by:
readUnsignedByte
in interfacePersistenceInput
- Throws:
IOException
-
readUnsignedShort
- Specified by:
readUnsignedShort
in interfacePersistenceInput
- Throws:
IOException
-
setNested
public void setNested(boolean nested) - Specified by:
setNested
in interfacePersistenceInput
-
resolveId
- Specified by:
resolveId
in interfacePersistenceInput
-