com.esri.arcgis.location
Class RouteMeasureCreator

java.lang.Object
  extended by com.esri.arcgis.location.RouteMeasureCreator
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IRouteMeasureCreator, IRouteMeasureCreator2, ISupportErrorInfo, java.io.Serializable

public class RouteMeasureCreator
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IRouteMeasureCreator, IRouteMeasureCreator2, ISupportErrorInfo

COM Class 'RouteMeasureCreator'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriLocation.olb'

Description 'Basic route creation object.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.location.IRouteMeasureCreator2
IID, IID6d2b9a89_960e_4f95_8c7b_6da24ab7a398, xxDummy
 
Fields inherited from interface com.esri.arcgis.location.IRouteMeasureCreator
IID9073be7c_f31a_4329_94e9_eea1bcd4af6d
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
RouteMeasureCreator()
          Constructs a RouteMeasureCreator using ArcGIS Engine.
RouteMeasureCreator(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RouteMeasureCreator theRouteMeasureCreator = (RouteMeasureCreator) obj;
 
Method Summary
 IEnumBSTR createUsing2Fields(java.lang.String fmFieldName, java.lang.String tmFieldName, IFeatureClassName outputFClassName, IGeometryDef outputGeometryDef, java.lang.String configKeyword, ITrackCancel trackCancel)
          Create routes from polylines using two fields.
 IEnumBSTR createUsing2Fields2(java.lang.String fmFieldName, java.lang.String tmFieldName, double factor, double offset, IFeatureClassName outputFClassName, IGeometryDef outputGeometryDef, java.lang.String configKeyword, ITrackCancel trackCancel)
          Create routes from polylines using two fields.
 IEnumBSTR createUsingCoordinatePriority(java.lang.String lengthFieldName, int seedingCorner, boolean ignoreGaps, IFeatureClassName outputFClassName, IGeometryDef outputGeometryDef, java.lang.String configKeyword, ITrackCancel trackCancel)
          Create routes from using topology.
 IEnumBSTR createUsingCoordinatePriority2(java.lang.String lengthFieldName, double factor, double offset, int seedingCorner, boolean ignoreGaps, IFeatureClassName outputFClassName, IGeometryDef outputGeometryDef, java.lang.String configKeyword, ITrackCancel trackCancel)
          Create routes from using topology.
 IEnumBSTR createUsingPoints(ISelectionSet pointSelection, java.lang.String pointRIDFieldName, java.lang.String pointMeasureFieldName, int updateHow, boolean ignoreGaps, double tolerance, boolean allInputFeatures, IFeatureClassName outputFClassName, IGeometryDef outputGeometryDef, java.lang.String configKeyword, ITrackCancel trackCancel)
          Create routes from polylines using points to assign measures.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 IFeatureClass getInputFeatureClass()
          The input features.
 ISelectionSet getInputFeatureSelection()
          A selection set of input features.
 java.lang.String getInputRouteIDFieldName()
          The input route identifier field name.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 boolean isBuildOutputIndex()
          Indicates whether an index is going to be built on the route id field on the output result.
 void release()
          Release a RouteMeasureCreator.
 void setBuildOutputIndex(boolean status)
          Indicates whether an index is going to be built on the route id field on the output result.
 void setInputFeatureClassByRef(IFeatureClass inputFeatureClass)
          The input features.
 void setInputFeatureSelectionByRef(ISelectionSet selection)
          A selection set of input features.
 void setInputRouteIDFieldName(java.lang.String fieldName)
          The input route identifier field name.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RouteMeasureCreator

public RouteMeasureCreator()
                    throws java.io.IOException,
                           java.net.UnknownHostException
Constructs a RouteMeasureCreator using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

RouteMeasureCreator

public RouteMeasureCreator(java.lang.Object obj)
                    throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RouteMeasureCreator theRouteMeasureCreator = (RouteMeasureCreator) obj;

Construct a RouteMeasureCreator using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to RouteMeasureCreator.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a RouteMeasureCreator.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

setInputFeatureClassByRef

public void setInputFeatureClassByRef(IFeatureClass inputFeatureClass)
                               throws java.io.IOException,
                                      AutomationException
The input features.

Specified by:
setInputFeatureClassByRef in interface IRouteMeasureCreator
Parameters:
inputFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getInputFeatureClass

public IFeatureClass getInputFeatureClass()
                                   throws java.io.IOException,
                                          AutomationException
The input features.

Specified by:
getInputFeatureClass in interface IRouteMeasureCreator
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setInputFeatureSelectionByRef

public void setInputFeatureSelectionByRef(ISelectionSet selection)
                                   throws java.io.IOException,
                                          AutomationException
A selection set of input features.

Specified by:
setInputFeatureSelectionByRef in interface IRouteMeasureCreator
Parameters:
selection - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getInputFeatureSelection

public ISelectionSet getInputFeatureSelection()
                                       throws java.io.IOException,
                                              AutomationException
A selection set of input features.

Specified by:
getInputFeatureSelection in interface IRouteMeasureCreator
Returns:
A reference to a com.esri.arcgis.geodatabase.ISelectionSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setInputRouteIDFieldName

public void setInputRouteIDFieldName(java.lang.String fieldName)
                              throws java.io.IOException,
                                     AutomationException
The input route identifier field name.

Specified by:
setInputRouteIDFieldName in interface IRouteMeasureCreator
Parameters:
fieldName - The fieldName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getInputRouteIDFieldName

public java.lang.String getInputRouteIDFieldName()
                                          throws java.io.IOException,
                                                 AutomationException
The input route identifier field name.

Specified by:
getInputRouteIDFieldName in interface IRouteMeasureCreator
Returns:
The fieldName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBuildOutputIndex

public void setBuildOutputIndex(boolean status)
                         throws java.io.IOException,
                                AutomationException
Indicates whether an index is going to be built on the route id field on the output result.

Specified by:
setBuildOutputIndex in interface IRouteMeasureCreator
Parameters:
status - The status (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isBuildOutputIndex

public boolean isBuildOutputIndex()
                           throws java.io.IOException,
                                  AutomationException
Indicates whether an index is going to be built on the route id field on the output result.

Specified by:
isBuildOutputIndex in interface IRouteMeasureCreator
Returns:
The status
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createUsing2Fields

public IEnumBSTR createUsing2Fields(java.lang.String fmFieldName,
                                    java.lang.String tmFieldName,
                                    IFeatureClassName outputFClassName,
                                    IGeometryDef outputGeometryDef,
                                    java.lang.String configKeyword,
                                    ITrackCancel trackCancel)
                             throws java.io.IOException,
                                    AutomationException
Create routes from polylines using two fields.

Specified by:
createUsing2Fields in interface IRouteMeasureCreator
Parameters:
fmFieldName - The fmFieldName (in)
tmFieldName - The tmFieldName (in)
outputFClassName - A reference to a com.esri.arcgis.geodatabase.IFeatureClassName (in)
outputGeometryDef - A reference to a com.esri.arcgis.geodatabase.IGeometryDef (in)
configKeyword - The configKeyword (in)
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Returns:
A reference to a com.esri.arcgis.system.IEnumBSTR
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createUsingCoordinatePriority

public IEnumBSTR createUsingCoordinatePriority(java.lang.String lengthFieldName,
                                               int seedingCorner,
                                               boolean ignoreGaps,
                                               IFeatureClassName outputFClassName,
                                               IGeometryDef outputGeometryDef,
                                               java.lang.String configKeyword,
                                               ITrackCancel trackCancel)
                                        throws java.io.IOException,
                                               AutomationException
Create routes from using topology.

Specified by:
createUsingCoordinatePriority in interface IRouteMeasureCreator
Parameters:
lengthFieldName - The lengthFieldName (in)
seedingCorner - A com.esri.arcgis.location.esriMSeedingCorner constant (in)
ignoreGaps - The ignoreGaps (in)
outputFClassName - A reference to a com.esri.arcgis.geodatabase.IFeatureClassName (in)
outputGeometryDef - A reference to a com.esri.arcgis.geodatabase.IGeometryDef (in)
configKeyword - The configKeyword (in)
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Returns:
A reference to a com.esri.arcgis.system.IEnumBSTR
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createUsingPoints

public IEnumBSTR createUsingPoints(ISelectionSet pointSelection,
                                   java.lang.String pointRIDFieldName,
                                   java.lang.String pointMeasureFieldName,
                                   int updateHow,
                                   boolean ignoreGaps,
                                   double tolerance,
                                   boolean allInputFeatures,
                                   IFeatureClassName outputFClassName,
                                   IGeometryDef outputGeometryDef,
                                   java.lang.String configKeyword,
                                   ITrackCancel trackCancel)
                            throws java.io.IOException,
                                   AutomationException
Create routes from polylines using points to assign measures.

Specified by:
createUsingPoints in interface IRouteMeasureCreator
Parameters:
pointSelection - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
pointRIDFieldName - The pointRIDFieldName (in)
pointMeasureFieldName - The pointMeasureFieldName (in)
updateHow - The updateHow (in)
ignoreGaps - The ignoreGaps (in)
tolerance - The tolerance (in)
allInputFeatures - The allInputFeatures (in)
outputFClassName - A reference to a com.esri.arcgis.geodatabase.IFeatureClassName (in)
outputGeometryDef - A reference to a com.esri.arcgis.geodatabase.IGeometryDef (in)
configKeyword - The configKeyword (in)
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Returns:
A reference to a com.esri.arcgis.system.IEnumBSTR
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createUsing2Fields2

public IEnumBSTR createUsing2Fields2(java.lang.String fmFieldName,
                                     java.lang.String tmFieldName,
                                     double factor,
                                     double offset,
                                     IFeatureClassName outputFClassName,
                                     IGeometryDef outputGeometryDef,
                                     java.lang.String configKeyword,
                                     ITrackCancel trackCancel)
                              throws java.io.IOException,
                                     AutomationException
Create routes from polylines using two fields.

Specified by:
createUsing2Fields2 in interface IRouteMeasureCreator2
Parameters:
fmFieldName - The fmFieldName (in)
tmFieldName - The tmFieldName (in)
factor - The factor (in)
offset - The offset (in)
outputFClassName - A reference to a com.esri.arcgis.geodatabase.IFeatureClassName (in)
outputGeometryDef - A reference to a com.esri.arcgis.geodatabase.IGeometryDef (in)
configKeyword - The configKeyword (in)
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Returns:
A reference to a com.esri.arcgis.system.IEnumBSTR
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createUsingCoordinatePriority2

public IEnumBSTR createUsingCoordinatePriority2(java.lang.String lengthFieldName,
                                                double factor,
                                                double offset,
                                                int seedingCorner,
                                                boolean ignoreGaps,
                                                IFeatureClassName outputFClassName,
                                                IGeometryDef outputGeometryDef,
                                                java.lang.String configKeyword,
                                                ITrackCancel trackCancel)
                                         throws java.io.IOException,
                                                AutomationException
Create routes from using topology.

Specified by:
createUsingCoordinatePriority2 in interface IRouteMeasureCreator2
Parameters:
lengthFieldName - The lengthFieldName (in)
factor - The factor (in)
offset - The offset (in)
seedingCorner - A com.esri.arcgis.location.esriMSeedingCorner constant (in)
ignoreGaps - The ignoreGaps (in)
outputFClassName - A reference to a com.esri.arcgis.geodatabase.IFeatureClassName (in)
outputGeometryDef - A reference to a com.esri.arcgis.geodatabase.IGeometryDef (in)
configKeyword - The configKeyword (in)
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Returns:
A reference to a com.esri.arcgis.system.IEnumBSTR
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.