org.eclipse.xtext.generator.trace
Class TraceRegionSerializer
java.lang.Object
org.eclipse.xtext.generator.trace.TraceRegionSerializer
public class TraceRegionSerializer
- extends java.lang.Object
- Author:
- Sebastian Zarnekow - Initial contribution and API
- This interface is not intended to be implemented by clients.
- This interface is not intended to be implemented by clients.
- This class is not intended to be subclassed by clients.
- This interface is not intended to be extended by clients.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TraceRegionSerializer
public TraceRegionSerializer()
writeTraceRegionTo
public void writeTraceRegionTo(AbstractTraceRegion region,
java.io.OutputStream stream)
throws java.io.IOException
- Throws:
java.io.IOException
doWriteTo
public <Region,Location> void doWriteTo(TraceRegionSerializer.Strategy<Region,Location> strategy,
Region region,
java.io.OutputStream stream)
throws java.io.IOException
- Throws:
java.io.IOException
readTraceRegionFrom
public AbstractTraceRegion readTraceRegionFrom(java.io.InputStream contents)
throws java.io.IOException
- Throws:
java.io.IOException
doReadFrom
public <Region,Location> Region doReadFrom(java.io.InputStream contents,
TraceRegionSerializer.Strategy<Region,Location> reader)
throws java.io.IOException
- Throws:
java.io.IOException
doReadFrom
public <Location,Region> Region doReadFrom(java.io.DataInputStream dataStream,
TraceRegionSerializer.Strategy<Region,Location> reader,
Region parent)
throws java.io.IOException
- Throws:
java.io.IOException