Interface IContextDataOutput

All Superinterfaces:
DataOutput
All Known Implementing Classes:
ContextDataOutputStream

public interface IContextDataOutput extends DataOutput
Extended DataOutput implementation with standard helpers for complex IObjectDerivedDataContext serialization scenarios
  • Method Details

    • writeEClass

      void writeEClass(org.eclipse.emf.ecore.EClass eClass) throws IOException
      Writes a given EClass The EClass must be registered in BM model as a storable object type
      Parameters:
      eClass - A EClass to serialize. May not be null
      Throws:
      IOException - In case of write error
    • writeEStructuralFeature

      void writeEStructuralFeature(org.eclipse.emf.ecore.EStructuralFeature feature) throws IOException
      Writes a given EStructuralFeature The corresponding containing EClass must be registered in BM model as a storable object type
      Parameters:
      feature - A feature to serialise. May not be null
      Throws:
      IOException - In case of write error
    • writeLongCollection

      void writeLongCollection(Collection<Long> collection) throws IOException
      Writes Long collection
      Parameters:
      collection - A collection to write. May not be NullPointerException
      Throws:
      IOException - In case of write error