Class BatchLinkableResourceStorageWritable


  • public class BatchLinkableResourceStorageWritable
    extends org.eclipse.xtext.resource.persistence.ResourceStorageWritable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String MISSING_FRAGMENT  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void beforeSaveEObject​(org.eclipse.emf.ecore.InternalEObject object, org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl.EObjectOutputStream writable)  
      protected java.lang.String getFragment​(org.eclipse.emf.ecore.EObject obj)  
      protected void handleSaveEObject​(org.eclipse.emf.ecore.InternalEObject object, org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl.EObjectOutputStream out)  
      protected void writeAssociationsAdapter​(BatchLinkableResource resource, java.io.OutputStream zipOut)  
      protected void writeEntries​(org.eclipse.xtext.resource.persistence.StorageAwareResource resource, java.util.zip.ZipOutputStream zipOut)  
      • Methods inherited from class org.eclipse.xtext.resource.persistence.ResourceStorageWritable

        convertExternalURIsToPortableURIs, writeContents, writeNodeModel, writeResource, writeResourceDescription
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MISSING_FRAGMENT

        public static final java.lang.String MISSING_FRAGMENT
        See Also:
        Constant Field Values
    • Constructor Detail

      • BatchLinkableResourceStorageWritable

        public BatchLinkableResourceStorageWritable​(java.io.OutputStream out,
                                                    boolean storeNodeModel)
    • Method Detail

      • writeEntries

        protected void writeEntries​(org.eclipse.xtext.resource.persistence.StorageAwareResource resource,
                                    java.util.zip.ZipOutputStream zipOut)
                             throws java.io.IOException
        Overrides:
        writeEntries in class org.eclipse.xtext.resource.persistence.ResourceStorageWritable
        Throws:
        java.io.IOException
      • beforeSaveEObject

        protected void beforeSaveEObject​(org.eclipse.emf.ecore.InternalEObject object,
                                         org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl.EObjectOutputStream writable)
                                  throws java.io.IOException
        Overrides:
        beforeSaveEObject in class org.eclipse.xtext.resource.persistence.ResourceStorageWritable
        Throws:
        java.io.IOException
      • handleSaveEObject

        protected void handleSaveEObject​(org.eclipse.emf.ecore.InternalEObject object,
                                         org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl.EObjectOutputStream out)
                                  throws java.io.IOException
        Overrides:
        handleSaveEObject in class org.eclipse.xtext.resource.persistence.ResourceStorageWritable
        Throws:
        java.io.IOException
      • writeAssociationsAdapter

        protected void writeAssociationsAdapter​(BatchLinkableResource resource,
                                                java.io.OutputStream zipOut)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • getFragment

        protected java.lang.String getFragment​(org.eclipse.emf.ecore.EObject obj)