Interface GeometryOperation
- All Known Implementing Classes:
BufferValidatedGeometryOperation, GeometryFunctionOperation, GeometryMethodOperation, LoggingGeometryOperation, OverlayValidatedGeometryOperation, PreparedGeometryOperation, PreparedGeometryTeeOperation, TeeGeometryOperation
public interface GeometryOperation
Interface for classes which execute operations on
Geometrys.
The arguments may be presented as Strings, even if they
should be calling a method with non-String arguments.
Geometry will always be supplied as Geometry objects, however.
This interface abstracts out the invocation of a method
on a Geometry during a Test. Subclasses can provide substitute
or additional methods during runs of the same test file.- Version:
- 1.7
- Author:
- Martin Davis
-
Method Summary
-
Method Details
-
getReturnType
-
invoke
Invokes an operation on aGeometry.- Parameters:
opName- name of the operationgeometry- the geometry to processargs- the arguments to the operation (which may be typed as Strings)- Returns:
- the result of the operation
- Throws:
Exception- if some error was encountered trying to find or process the operation
-