Class SerializationExtensions
- java.lang.Object
-
- org.eclipse.xtext.resource.persistence.SerializationExtensions
-
public class SerializationExtensions extends java.lang.Object
- Since:
- 2.8
-
-
Constructor Summary
Constructors Constructor Description SerializationExtensions()
-
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>
TreadEcoreElement(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)
-
-
-
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
-
-