Class Serializer
- java.lang.Object
-
- org.eclipse.xtext.parsetree.reconstr.Serializer
-
- All Implemented Interfaces:
ISerializer
@Deprecated public class Serializer extends java.lang.Object implements ISerializer
Deprecated.use org.eclipse.xtext.serializer.impl.Serializer instead
-
-
Constructor Summary
Constructors Constructor Description Serializer(IParseTreeConstructor ptc, IFormatter fmt, IConcreteSyntaxValidator val)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected IFormattergetFormatter()Deprecated.protected IParseTreeConstructorgetParseTreeReconstructor()Deprecated.protected IConcreteSyntaxValidatorgetValidator()Deprecated.java.lang.Stringserialize(org.eclipse.emf.ecore.EObject obj)Deprecated.IParseTreeConstructor.TreeConstructionReportserialize(org.eclipse.emf.ecore.EObject obj, java.io.Writer writer, SerializerOptions options)Deprecated.voidserialize(org.eclipse.emf.ecore.EObject obj, java.io.Writer writer, SaveOptions options)Deprecated.IParseTreeConstructor.TreeConstructionReportserialize(org.eclipse.emf.ecore.EObject obj, ITokenStream tokenStream, SerializerOptions options)Deprecated.IParseTreeConstructor.TreeConstructionReportserialize(org.eclipse.emf.ecore.EObject obj, ITokenStream tokenStream, SaveOptions options)Deprecated.java.lang.Stringserialize(org.eclipse.emf.ecore.EObject obj, SerializerOptions options)Deprecated.java.lang.Stringserialize(org.eclipse.emf.ecore.EObject obj, SaveOptions options)Deprecated.org.eclipse.xtext.util.ReplaceRegionserializeReplacement(org.eclipse.emf.ecore.EObject obj, SaveOptions options)Deprecated.
-
-
-
Constructor Detail
-
Serializer
@Inject public Serializer(IParseTreeConstructor ptc, IFormatter fmt, IConcreteSyntaxValidator val)
Deprecated.
-
-
Method Detail
-
serialize
public IParseTreeConstructor.TreeConstructionReport serialize(org.eclipse.emf.ecore.EObject obj, ITokenStream tokenStream, SaveOptions options) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
serialize
public void serialize(org.eclipse.emf.ecore.EObject obj, java.io.Writer writer, SaveOptions options) throws java.io.IOExceptionDeprecated.- Specified by:
serializein interfaceISerializer- Throws:
java.io.IOException
-
serialize
public java.lang.String serialize(org.eclipse.emf.ecore.EObject obj)
Deprecated.- Specified by:
serializein interfaceISerializer
-
serialize
public java.lang.String serialize(org.eclipse.emf.ecore.EObject obj, SaveOptions options)Deprecated.- Specified by:
serializein interfaceISerializer
-
serialize
@Deprecated public IParseTreeConstructor.TreeConstructionReport serialize(org.eclipse.emf.ecore.EObject obj, ITokenStream tokenStream, SerializerOptions options) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
serialize
@Deprecated public IParseTreeConstructor.TreeConstructionReport serialize(org.eclipse.emf.ecore.EObject obj, java.io.Writer writer, SerializerOptions options) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
serialize
@Deprecated public java.lang.String serialize(org.eclipse.emf.ecore.EObject obj, SerializerOptions options)Deprecated.
-
serializeReplacement
public org.eclipse.xtext.util.ReplaceRegion serializeReplacement(org.eclipse.emf.ecore.EObject obj, SaveOptions options)Deprecated.- Specified by:
serializeReplacementin interfaceISerializer
-
getParseTreeReconstructor
protected IParseTreeConstructor getParseTreeReconstructor()
Deprecated.
-
getFormatter
protected IFormatter getFormatter()
Deprecated.
-
getValidator
protected IConcreteSyntaxValidator getValidator()
Deprecated.
-
-