com.esri.arcgis.networkanalyst
Interface INAClassLoader2

All Superinterfaces:
INAClassLoader, java.io.Serializable
All Known Implementing Classes:
INAClassLoader2Proxy, NAClassLoader

public interface INAClassLoader2
extends INAClassLoader, java.io.Serializable

COM Interface 'INAClassLoader2'. Generated 3/19/2015 1:20:59 PM from 'C:\ArcGIS\COM\esriNetworkAnalyst.olb'

Description: 'Provides access to populate network analysis classes in preparation for analysis.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID43580bf9_848b_4c66_b82b_a3bba8d74e85
           
static int xxDummy
          Deprecated. Internal use only
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INAClassLoader
IIDba4f2689_f38a_4cea_aaa1_7511eeed1fa9
 
Method Summary
 ILocator getAddressLocator()
          The address locator to be used.
 double getSnapOffsetDistance()
          The snap offset distance from the network.
 int getSnapOffsetUnits()
          The snap offset units.
 void initialize(INAContext context, java.lang.String nAClassName, ICursor cursor)
          Quickly initializes the class loader to be able to load information from a cursor into a given NAClass.
 boolean isSnapToNetwork()
          Indicates if the geometry should be snapped to the network.
 void setAddressLocatorByRef(ILocator addressLocator)
          The address locator to be used.
 void setSnapOffsetDistance(double distance)
          The snap offset distance from the network.
 void setSnapOffsetUnits(int units)
          The snap offset units.
 void setSnapToNetwork(boolean enabled)
          Indicates if the geometry should be snapped to the network.
 
Methods inherited from interface com.esri.arcgis.networkanalyst.INAClassLoader
getFieldMap, getLocator, getNAClass, load, setFieldMapByRef, setLocatorByRef, setNAClassByRef
 

Field Detail

IID43580bf9_848b_4c66_b82b_a3bba8d74e85

static final int IID43580bf9_848b_4c66_b82b_a3bba8d74e85
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

initialize

void initialize(INAContext context,
                java.lang.String nAClassName,
                ICursor cursor)
                throws java.io.IOException,
                       AutomationException
Quickly initializes the class loader to be able to load information from a cursor into a given NAClass.

Parameters:
context - A reference to a com.esri.arcgis.networkanalyst.INAContext (in)
nAClassName - The nAClassName (in)
cursor - A reference to a com.esri.arcgis.geodatabase.ICursor (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAddressLocatorByRef

void setAddressLocatorByRef(ILocator addressLocator)
                            throws java.io.IOException,
                                   AutomationException
The address locator to be used.

Parameters:
addressLocator - A reference to a com.esri.arcgis.geodatabase.ILocator (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAddressLocator

ILocator getAddressLocator()
                           throws java.io.IOException,
                                  AutomationException
The address locator to be used.

Returns:
A reference to a com.esri.arcgis.geodatabase.ILocator
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSnapToNetwork

void setSnapToNetwork(boolean enabled)
                      throws java.io.IOException,
                             AutomationException
Indicates if the geometry should be snapped to the network.

Parameters:
enabled - The enabled (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSnapToNetwork

boolean isSnapToNetwork()
                        throws java.io.IOException,
                               AutomationException
Indicates if the geometry should be snapped to the network.

Returns:
The enabled
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSnapOffsetDistance

void setSnapOffsetDistance(double distance)
                           throws java.io.IOException,
                                  AutomationException
The snap offset distance from the network.

Parameters:
distance - The distance (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSnapOffsetDistance

double getSnapOffsetDistance()
                             throws java.io.IOException,
                                    AutomationException
The snap offset distance from the network.

Returns:
The distance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSnapOffsetUnits

void setSnapOffsetUnits(int units)
                        throws java.io.IOException,
                               AutomationException
The snap offset units.

Parameters:
units - A com.esri.arcgis.system.esriUnits constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSnapOffsetUnits

int getSnapOffsetUnits()
                       throws java.io.IOException,
                              AutomationException
The snap offset units.

Returns:
A com.esri.arcgis.system.esriUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.