com.esri.core.geometry
Class OperatorFactoryLocal

java.lang.Object
  extended by com.esri.core.geometry.OperatorFactory
      extended by com.esri.core.geometry.OperatorFactoryLocal

public class OperatorFactoryLocal
extends OperatorFactory

An abstract class that represent the basic OperatorFactory interface.


Method Summary
static OperatorFactoryLocal getInstance()
          Returns a reference to the singleton.
 Operator getOperator(Operator.Type type)
          Returns an operator of the given type.
 boolean isOperatorSupported(Operator.Type type)
          Returns True if the given operator exists.
static Geometry loadGeometryFromEsriShapeDbg(String file_name)
           
static MapGeometry loadGeometryFromJSONFileDbg(String file_name)
           
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static OperatorFactoryLocal getInstance()
Returns a reference to the singleton.


getOperator

public Operator getOperator(Operator.Type type)
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 class OperatorFactory

isOperatorSupported

public boolean isOperatorSupported(Operator.Type type)
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 class OperatorFactory

saveJSONToTextFileDbg

public static void saveJSONToTextFileDbg(String file_name,
                                         Geometry geometry,
                                         SpatialReference spatial_ref)

loadGeometryFromJSONFileDbg

public static MapGeometry loadGeometryFromJSONFileDbg(String file_name)

loadGeometryFromEsriShapeDbg

public static Geometry loadGeometryFromEsriShapeDbg(String file_name)

saveGeometryToEsriShapeDbg

public static void saveGeometryToEsriShapeDbg(String file_name,
                                              Geometry geometry)

saveToWKTFileDbg

public static void saveToWKTFileDbg(String file_name,
                                    Geometry geometry,
                                    SpatialReference spatial_ref)

loadGeometryFromWKTFileDbg

public static Geometry loadGeometryFromWKTFileDbg(String file_name)


Copyright © 2013. All Rights Reserved.