- All Known Subinterfaces:
GraphOutput
- All Known Implementing Classes:
GraphTransaction,ModificationQueue,PersistenceOutputDecorator,PersistenceOutputStream,PropertyQueue,PropertyWriter,Transaction,XAQueue,XMLGraphWriter,XMLPersistenceWriter
public interface PersistenceOutput
-
Method Summary
Modifier and TypeMethodDescriptionvoidbeginArray(int length, Type componentType) 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)
-
Method Details
-
writeBoolean
- Throws:
IOException
-
writeByte
- Throws:
IOException
-
writeShort
- Throws:
IOException
-
writeChar
- Throws:
IOException
-
writeInt
- Throws:
IOException
-
writeLong
- Throws:
IOException
-
writeFloat
- Throws:
IOException
-
writeDouble
- Throws:
IOException
-
writeName
- Throws:
IOException
-
writeString
- Throws:
IOException
-
writeNullObject
- Throws:
IOException
-
writeStringObject
- Throws:
IOException
-
writeObject
- Throws:
IOException
-
writePersistentObjectReference
- Throws:
IOException
-
writeLibraryObjectReference
- Throws:
IOException
-
beginArray
- Throws:
IOException
-
endArray
- Throws:
IOException
-
beginManaged
- Throws:
IOException
-
beginFields
- Throws:
IOException
-
beginField
- Throws:
IOException
-
endField
- Throws:
IOException
-
endFields
- Throws:
IOException
-
endManaged
- Throws:
IOException
-
setNested
void setNested(boolean nested) -
writeStatic
boolean writeStatic()Return true if static (global) fields should be written
-