Package com.esri.core.geometry
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 OperatorFactoryLocal
private static final HashMap
<Operator.Type, Operator> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OperatorFactoryLocal
Returns a reference to the singleton.getOperator
(Operator.Type type) Returns an operator of the given type.boolean
Returns True if the given operator exists.static Geometry
loadGeometryFromEsriShapeDbg
(String file_name) static MapGeometry
loadGeometryFromJSONFileDbg
(String file_name) static MapGeometry
static Geometry
loadGeometryFromWKTFileDbg
(String file_name) static void
saveGeometryToEsriShapeDbg
(String file_name, Geometry geometry) static void
saveJSONToTextFileDbg
(String file_name, Geometry geometry, SpatialReference spatial_ref) static void
saveToWKTFileDbg
(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:OperatorFactory
Returns an operator of the given type. Throws an exception if the operator is not supported.- Specified by:
getOperator
in classOperatorFactory
-
isOperatorSupported
Description copied from class:OperatorFactory
Returns True if the given operator exists. The type is one of the Operator::Type values or a user defined value.- Specified by:
isOperatorSupported
in 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
-