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
written
Fields inherited from class java.io.FilterOutputStream
out
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
writeEClass
(org.eclipse.emf.ecore.EClass eClass) Writes a givenEClass
TheEClass
must be registered in BM model as a storable object typevoid
writeEStructuralFeature
(org.eclipse.emf.ecore.EStructuralFeature feature) Writes a givenEStructuralFeature
The corresponding containingEClass
must be registered in BM model as a storable object typevoid
writeLongCollection
(Collection<Long> collection) WritesLong
collectionMethods inherited from class java.io.DataOutputStream
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
Methods inherited from class java.io.FilterOutputStream
close, write
Methods inherited from class java.io.OutputStream
nullOutputStream
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:IContextDataOutput
Writes a givenEClass
TheEClass
must be registered in BM model as a storable object type- Specified by:
writeEClass
in interfaceIContextDataOutput
- Parameters:
eClass
- AEClass
to 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:IContextDataOutput
Writes a givenEStructuralFeature
The corresponding containingEClass
must be registered in BM model as a storable object type- Specified by:
writeEStructuralFeature
in interfaceIContextDataOutput
- Parameters:
feature
- A feature to serialise. May not benull
- Throws:
IOException
- In case of write error
-
writeLongCollection
Description copied from interface:IContextDataOutput
WritesLong
collection- Specified by:
writeLongCollection
in interfaceIContextDataOutput
- Parameters:
collection
- A collection to write. May not beNullPointerException
- Throws:
IOException
- In case of write error
-