Class OperatorFactoryLocal
java.lang.Object
com.esri.core.geometry.OperatorFactory
com.esri.core.geometry.OperatorFactoryLocal
An abstract class that represent the basic OperatorFactory interface.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final OperatorFactoryLocalprivate static final HashMap<Operator.Type, Operator> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OperatorFactoryLocalReturns a reference to the singleton.getOperator(Operator.Type type) Returns an operator of the given type.booleanReturns True if the given operator exists.static GeometryloadGeometryFromEsriShapeDbg(String file_name) static MapGeometryloadGeometryFromJSONFileDbg(String file_name) static MapGeometrystatic GeometryloadGeometryFromWKTFileDbg(String file_name) static voidsaveGeometryToEsriShapeDbg(String file_name, Geometry geometry) static voidsaveJSONToTextFileDbg(String file_name, Geometry geometry, SpatialReference spatial_ref) static voidsaveToWKTFileDbg(String file_name, Geometry geometry, SpatialReference spatial_ref)
-
Field Details
-
INSTANCE
-
st_supportedOperators
-
-
Constructor Details
-
OperatorFactoryLocal
private OperatorFactoryLocal()
-
-
Method Details
-
getInstance
Returns a reference to the singleton. -
getOperator
Description copied from class:OperatorFactoryReturns an operator of the given type. Throws an exception if the operator is not supported.- Specified by:
getOperatorin classOperatorFactory
-
isOperatorSupported
Description copied from class:OperatorFactoryReturns True if the given operator exists. The type is one of the Operator::Type values or a user defined value.- Specified by:
isOperatorSupportedin classOperatorFactory
-
saveJSONToTextFileDbg
public static void saveJSONToTextFileDbg(String file_name, Geometry geometry, SpatialReference spatial_ref) -
loadGeometryFromJSONFileDbg
-
loadGeometryFromJSONStringDbg
-
loadGeometryFromEsriShapeDbg
-
saveGeometryToEsriShapeDbg
-
saveToWKTFileDbg
public static void saveToWKTFileDbg(String file_name, Geometry geometry, SpatialReference spatial_ref) -
loadGeometryFromWKTFileDbg
-