public class LoggingGeometryOperation extends Object implements GeometryOperation
GeometryOperation which logs
the input and output from another
GeometryOperation.
The log is sent to System.out.| Constructor and Description |
|---|
LoggingGeometryOperation() |
LoggingGeometryOperation(GeometryOperation geomOp) |
| Modifier and Type | Method and Description |
|---|---|
Class |
getReturnType(String opName)
Gets the class of the return type of the given operation.
|
Result |
invoke(String opName,
Geometry geometry,
Object[] args)
Invokes an operation on a
Geometry. |
public LoggingGeometryOperation()
public LoggingGeometryOperation(GeometryOperation geomOp)
public Class getReturnType(String opName)
GeometryOperationgetReturnType in interface GeometryOperationopName - the name of the operationpublic Result invoke(String opName, Geometry geometry, Object[] args) throws Exception
GeometryOperationGeometry.invoke in interface GeometryOperationopName - name of the operationgeometry - the geometry to processargs - the arguments to the operation (which may be typed as Strings)Exception - if some error was encountered trying to find or process the operationCopyright © 2025. All rights reserved.