Interface TraceRegionSerializer.Strategy<Region,Location>
-
- All Known Implementing Classes:
TraceRegionSerializer.IdentityStrategy
- Enclosing class:
- TraceRegionSerializer
public static interface TraceRegionSerializer.Strategy<Region,Location>- Noextend:
- This interface is not intended to be extended by clients.
- Noimplement:
- This interface is not intended to be implemented by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LocationcreateLocation(int offset, int length, int lineNumber, int endLineNumber, SourceRelativeURI path)RegioncreateRegion(int offset, int length, int lineNumber, int endLineNumber, boolean useForDebugging, java.util.List<Location> associations, Region parent)voidwriteLocation(Location location, TraceRegionSerializer.Callback<Region,Location> callback)voidwriteRegion(Region region, TraceRegionSerializer.Callback<Region,Location> callback)
-
-
-
Method Detail
-
createLocation
Location createLocation(int offset, int length, int lineNumber, int endLineNumber, SourceRelativeURI path)
-
createRegion
Region createRegion(int offset, int length, int lineNumber, int endLineNumber, boolean useForDebugging, 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
-
-