org.eclipse.xtext.generator.trace
Interface TraceRegionSerializer.Strategy<Region,Location>

All Known Implementing Classes:
TraceRegionSerializer.IdentityStrategy, TraceResourceFactory.Strategy
Enclosing class:
TraceRegionSerializer

public static interface TraceRegionSerializer.Strategy<Region,Location>

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.

Method Summary
 Location createLocation(int offset, int length, int lineNumber, int endLineNumber, org.eclipse.emf.common.util.URI path, java.lang.String projectName)
           
 Region createRegion(int offset, int length, int lineNumber, int endLineNumber, java.util.List<Location> associations, Region parent)
           
 void writeLocation(Location location, TraceRegionSerializer.Callback<Region,Location> callback)
           
 void writeRegion(Region region, TraceRegionSerializer.Callback<Region,Location> callback)
           
 

Method Detail

createLocation

Location createLocation(int offset,
                        int length,
                        int lineNumber,
                        int endLineNumber,
                        org.eclipse.emf.common.util.URI path,
                        java.lang.String projectName)

createRegion

Region createRegion(int offset,
                    int length,
                    int lineNumber,
                    int endLineNumber,
                    java.util.List<Location> associations,
                    Region parent)

writeRegion

void writeRegion(Region region,
                 TraceRegionSerializer.Callback<Region,Location> callback)
                 throws java.io.IOException
Throws:
java.io.IOException

writeLocation

void writeLocation(Location location,
                   TraceRegionSerializer.Callback<Region,Location> callback)
                   throws java.io.IOException
Throws:
java.io.IOException