Class ContextDataOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.DataOutputStream
com._1c.g5.v8.internal.derived.context.ContextDataOutputStream
- All Implemented Interfaces:
IContextDataOutput,Closeable,DataOutput,Flushable,AutoCloseable
Data ouput stream with helper methods for
IObjectDerivedDataContext serialization-
Field Summary
Fields inherited from class java.io.DataOutputStream
writtenFields inherited from class java.io.FilterOutputStream
out -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteEClass(org.eclipse.emf.ecore.EClass eClass) Writes a givenEClassTheEClassmust be registered in BM model as a storable object typevoidwriteEStructuralFeature(org.eclipse.emf.ecore.EStructuralFeature feature) Writes a givenEStructuralFeatureThe corresponding containingEClassmust be registered in BM model as a storable object typevoidwriteLongCollection(Collection<Long> collection) WritesLongcollectionMethods inherited from class java.io.DataOutputStream
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFMethods inherited from class java.io.FilterOutputStream
close, writeMethods inherited from class java.io.OutputStream
nullOutputStreamMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.io.DataOutput
write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
-
Constructor Details
-
ContextDataOutputStream
- Parameters:
out-bmEngine-
-
-
Method Details
-
writeEClass
Description copied from interface:IContextDataOutputWrites a givenEClassTheEClassmust be registered in BM model as a storable object type- Specified by:
writeEClassin interfaceIContextDataOutput- Parameters:
eClass- AEClassto serialize. May not benull- Throws:
IOException- In case of write error
-
writeEStructuralFeature
public void writeEStructuralFeature(org.eclipse.emf.ecore.EStructuralFeature feature) throws IOException Description copied from interface:IContextDataOutputWrites a givenEStructuralFeatureThe corresponding containingEClassmust be registered in BM model as a storable object type- Specified by:
writeEStructuralFeaturein interfaceIContextDataOutput- Parameters:
feature- A feature to serialise. May not benull- Throws:
IOException- In case of write error
-
writeLongCollection
Description copied from interface:IContextDataOutputWritesLongcollection- Specified by:
writeLongCollectionin interfaceIContextDataOutput- Parameters:
collection- A collection to write. May not beNullPointerException- Throws:
IOException- In case of write error
-