com.esri.arcgis.geoprocessing.tools.coveragetools
Class AddXY

java.lang.Object
  extended bycom.esri.arcgis.geoprocessing.AbstractGPTool
      extended bycom.esri.arcgis.geoprocessing.tools.coveragetools.AddXY
All Implemented Interfaces:
GPTool

public class AddXY
extends AbstractGPTool

The Add XY Coordinates tool is contained in the Coverage Tools tool box.

Software restrictions: ArcInfo only

Illustration:

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
AddXY()
          Creates the Add XY Coordinates tool with defaults.
AddXY(java.lang.Object inCover)
          Creates the Add XY Coordinates tool with the required parameters.
 
Method Summary
 java.lang.String getFeatureType()
          Returns the Feature Type parameter of this tool .
 java.lang.Object getInCover()
          Returns the Input Coverage parameter of this tool .
 java.lang.Object getOutCover()
          Returns the Output Coverage parameter of this tool (Read only).
 java.lang.String getToolboxAlias()
          Returns the alias of the tool box containing this tool.
 java.lang.String getToolboxName()
          Returns the name of the tool box containing this tool.
 java.lang.String getToolName()
          Returns the name of this tool.
 void setFeatureType(java.lang.String featureType)
          Sets the Feature Type parameter of this tool .
 void setInCover(java.lang.Object inCover)
          Sets the Input Coverage parameter of this tool .
 
Methods inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
getParameterValues, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AddXY

public AddXY()
Creates the Add XY Coordinates tool with defaults.

Initializes the array of tool parameters with the default values specified when the tool was created.


AddXY

public AddXY(java.lang.Object inCover)
Creates the Add XY Coordinates tool with the required parameters.

Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.

Parameters:
inCover - Coverage, the coverage containing points or polygon labels whose x,y coordinates will become attributes in the PAT, or in the coverage containing nodes, to the NAT.
Method Detail

getInCover

public java.lang.Object getInCover()
Returns the Input Coverage parameter of this tool . This parameter is Coverage, the coverage containing points or polygon labels whose x,y coordinates will become attributes in the PAT, or in the coverage containing nodes, to the NAT. This is a required parameter.

Returns:
the Input Coverage

setInCover

public void setInCover(java.lang.Object inCover)
Sets the Input Coverage parameter of this tool . This parameter is Coverage, the coverage containing points or polygon labels whose x,y coordinates will become attributes in the PAT, or in the coverage containing nodes, to the NAT. This is a required parameter.

Parameters:
inCover - Coverage, the coverage containing points or polygon labels whose x,y coordinates will become attributes in the PAT, or in the coverage containing nodes, to the NAT.

getFeatureType

public java.lang.String getFeatureType()
Returns the Feature Type parameter of this tool . This parameter is String, type of coverage feature whose x,y coordinates will become feature attributes. This is an optional parameter.

Returns:
the Feature Type

setFeatureType

public void setFeatureType(java.lang.String featureType)
Sets the Feature Type parameter of this tool . This parameter is String, type of coverage feature whose x,y coordinates will become feature attributes. This is an optional parameter.

Parameters:
featureType - String, type of coverage feature whose x,y coordinates will become feature attributes.
  • POINT—Point feature coordinates to be added to the PAT including label points. This is the default option.
  • NODE—Node feature coordinates to be added to the NAT.

getOutCover

public java.lang.Object getOutCover()
Returns the Output Coverage parameter of this tool (Read only). This is an derived parameter.

Returns:
the Output Coverage

getToolName

public java.lang.String getToolName()
Returns the name of this tool.

Returns:
the tool name

getToolboxName

public java.lang.String getToolboxName()
Returns the name of the tool box containing this tool.

Returns:
the tool box name

getToolboxAlias

public java.lang.String getToolboxAlias()
Returns the alias of the tool box containing this tool.

Returns:
the tool box alias