Class SerializationExtensions


  • public class SerializationExtensions
    extends java.lang.Object
    Since:
    2.8
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> T readCastedObject​(java.io.ObjectInput in)  
      static <T extends org.eclipse.emf.ecore.ENamedElement>
      T
      readEcoreElement​(java.io.ObjectInput in)  
      static QualifiedName readQualifiedName​(java.io.ObjectInput in)  
      static org.eclipse.emf.common.util.URI readURI​(java.io.ObjectInput in)  
      static void writeEcoreElement​(java.io.ObjectOutput out, org.eclipse.emf.ecore.ENamedElement namedElement)  
      static void writeQualifiedName​(java.io.ObjectOutput out, QualifiedName name)  
      static void writeURI​(java.io.ObjectOutput out, org.eclipse.emf.common.util.URI uri)  
      • Methods inherited from class java.lang.Object

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

      • SerializationExtensions

        public SerializationExtensions()
    • Method Detail

      • readEcoreElement

        public static <T extends org.eclipse.emf.ecore.ENamedElement> T readEcoreElement​(java.io.ObjectInput in)
                                                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • writeEcoreElement

        public static void writeEcoreElement​(java.io.ObjectOutput out,
                                             org.eclipse.emf.ecore.ENamedElement namedElement)
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • readCastedObject

        public static <T> T readCastedObject​(java.io.ObjectInput in)
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • readURI

        public static org.eclipse.emf.common.util.URI readURI​(java.io.ObjectInput in)
                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • writeURI

        public static void writeURI​(java.io.ObjectOutput out,
                                    org.eclipse.emf.common.util.URI uri)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • readQualifiedName

        public static QualifiedName readQualifiedName​(java.io.ObjectInput in)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • writeQualifiedName

        public static void writeQualifiedName​(java.io.ObjectOutput out,
                                              QualifiedName name)
                                       throws java.io.IOException
        Throws:
        java.io.IOException