|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.networkanalyst.NAClassLoader
public class NAClassLoader
COM Class 'NAClassLoader'. Generated 3/19/2015 1:20:45 PM from 'C:\ArcGIS\COM\esriNetworkAnalyst.olb'
Description 'Loads a network class based on its field maps.' 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 |
---|
Fields inherited from interface com.esri.arcgis.networkanalyst.INAClassLoader2 |
---|
IID, IID43580bf9_848b_4c66_b82b_a3bba8d74e85, xxDummy |
Fields inherited from interface com.esri.arcgis.networkanalyst.INAClassLoader |
---|
IIDba4f2689_f38a_4cea_aaa1_7511eeed1fa9 |
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
Constructor Summary | |
---|---|
NAClassLoader()
Constructs a NAClassLoader using ArcGIS Engine. |
|
NAClassLoader(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. NAClassLoader theNAClassLoader = (NAClassLoader) obj; |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another |
ILocator |
getAddressLocator()
The address locator to be used. |
static java.lang.String |
getClsid()
getClsid. |
INAClassFieldMap |
getFieldMap()
The field mapping definition. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
INALocator |
getLocator()
The locator to be used. |
INAClass |
getNAClass()
The network analysis class. |
double |
getSnapOffsetDistance()
The snap offset distance from the network. |
int |
getSnapOffsetUnits()
The snap offset units. |
int |
hashCode()
the hashcode for this object |
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. |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isSnapToNetwork()
Indicates if the geometry should be snapped to the network. |
void |
load(ICursor cursor,
ITrackCancel trackCancel,
int[] rowsInCursor,
int[] rowsLocated)
Populate the network analysis class. |
void |
release()
Release a NAClassLoader. |
void |
setAddressLocatorByRef(ILocator addressLocator)
The address locator to be used. |
void |
setFieldMapByRef(INAClassFieldMap fieldMapping)
The field mapping definition. |
void |
setLocatorByRef(INALocator loaderLocator)
The locator to be used. |
void |
setNAClassByRef(INAClass classToLoadInto)
The network analysis class. |
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 class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NAClassLoader() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic NAClassLoader(java.lang.Object obj) throws java.io.IOException
NAClassLoader theNAClassLoader = (NAClassLoader) obj;
obj
to NAClassLoader
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void setNAClassByRef(INAClass classToLoadInto) throws java.io.IOException, AutomationException
setNAClassByRef
in interface INAClassLoader
classToLoadInto
- A reference to a com.esri.arcgis.networkanalyst.INAClass (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INAClass getNAClass() throws java.io.IOException, AutomationException
getNAClass
in interface INAClassLoader
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFieldMapByRef(INAClassFieldMap fieldMapping) throws java.io.IOException, AutomationException
setFieldMapByRef
in interface INAClassLoader
fieldMapping
- A reference to a com.esri.arcgis.networkanalyst.INAClassFieldMap (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INAClassFieldMap getFieldMap() throws java.io.IOException, AutomationException
getFieldMap
in interface INAClassLoader
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLocatorByRef(INALocator loaderLocator) throws java.io.IOException, AutomationException
setLocatorByRef
in interface INAClassLoader
loaderLocator
- A reference to a com.esri.arcgis.networkanalyst.INALocator (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INALocator getLocator() throws java.io.IOException, AutomationException
getLocator
in interface INAClassLoader
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(ICursor cursor, ITrackCancel trackCancel, int[] rowsInCursor, int[] rowsLocated) throws java.io.IOException, AutomationException
load
in interface INAClassLoader
cursor
- A reference to a com.esri.arcgis.geodatabase.ICursor (in)trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)rowsInCursor
- The rowsInCursor (in/out: use single element array)rowsLocated
- The rowsLocated (in/out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void initialize(INAContext context, java.lang.String nAClassName, ICursor cursor) throws java.io.IOException, AutomationException
initialize
in interface INAClassLoader2
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAddressLocatorByRef(ILocator addressLocator) throws java.io.IOException, AutomationException
setAddressLocatorByRef
in interface INAClassLoader2
addressLocator
- A reference to a com.esri.arcgis.geodatabase.ILocator (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILocator getAddressLocator() throws java.io.IOException, AutomationException
getAddressLocator
in interface INAClassLoader2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSnapToNetwork(boolean enabled) throws java.io.IOException, AutomationException
setSnapToNetwork
in interface INAClassLoader2
enabled
- The enabled (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSnapToNetwork() throws java.io.IOException, AutomationException
isSnapToNetwork
in interface INAClassLoader2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSnapOffsetDistance(double distance) throws java.io.IOException, AutomationException
setSnapOffsetDistance
in interface INAClassLoader2
distance
- The distance (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getSnapOffsetDistance() throws java.io.IOException, AutomationException
getSnapOffsetDistance
in interface INAClassLoader2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSnapOffsetUnits(int units) throws java.io.IOException, AutomationException
setSnapOffsetUnits
in interface INAClassLoader2
units
- A com.esri.arcgis.system.esriUnits constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSnapOffsetUnits() throws java.io.IOException, AutomationException
getSnapOffsetUnits
in interface INAClassLoader2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |