com.esri.arcgis.geoprocessing.tools.conversiontools
Class XSLTransform

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.AbstractGPTool
      extended by com.esri.arcgis.geoprocessing.tools.conversiontools.XSLTransform
All Implemented Interfaces:
GPTool

public class XSLTransform
extends AbstractGPTool

This tool requires the Microsoft .NET Framework 2.0. These tools are installed with the .NET Support install option. Uses an XML Parser to transform an XML metadata document using an The XSLT Transformation tool is contained in the Conversion Tools tool box.

Software restrictions: none


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
XSLTransform()
          Creates the XSLT Transformation tool with defaults.
XSLTransform(Object source, Object xslt, Object output)
          Creates the XSLT Transformation tool with the required parameters.
 
Method Summary
 Object getOutput()
          Returns the Output File parameter of this tool .
 Object getSource()
          Returns the Source Metadata parameter of this tool .
 String getToolboxAlias()
          Returns the alias of the tool box containing this tool.
 String getToolboxName()
          Returns the name of the tool box containing this tool.
 String getToolName()
          Returns the name of this tool.
 Object getXslt()
          Returns the Input XSLT parameter of this tool .
 void setOutput(Object output)
          Sets the Output File parameter of this tool .
 void setSource(Object source)
          Sets the Source Metadata parameter of this tool .
 void setXslt(Object xslt)
          Sets the Input XSLT 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

XSLTransform

public XSLTransform()
Creates the XSLT Transformation tool with defaults.

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


XSLTransform

public XSLTransform(Object source,
                    Object xslt,
                    Object output)
Creates the XSLT Transformation 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:
source - Data Element, the item whose metadata will be converted, or a stand-alone XML file that will be converted.
xslt - File, an XSLT style sheet file that defines the conversion that will be performed.
output - File, a standalone XML file that will be created containing the transformed metadata.
Method Detail

getSource

public Object getSource()
Returns the Source Metadata parameter of this tool . This parameter is Data Element, the item whose metadata will be converted, or a stand-alone XML file that will be converted. This is a required parameter.

Returns:
the Source Metadata

setSource

public void setSource(Object source)
Sets the Source Metadata parameter of this tool . This parameter is Data Element, the item whose metadata will be converted, or a stand-alone XML file that will be converted. This is a required parameter.

Parameters:
source - Data Element, the item whose metadata will be converted, or a stand-alone XML file that will be converted.

getXslt

public Object getXslt()
Returns the Input XSLT parameter of this tool . This parameter is File, an XSLT style sheet file that defines the conversion that will be performed. This is a required parameter.

Returns:
the Input XSLT

setXslt

public void setXslt(Object xslt)
Sets the Input XSLT parameter of this tool . This parameter is File, an XSLT style sheet file that defines the conversion that will be performed. This is a required parameter.

Parameters:
xslt - File, an XSLT style sheet file that defines the conversion that will be performed.

getOutput

public Object getOutput()
Returns the Output File parameter of this tool . This parameter is File, a standalone XML file that will be created containing the transformed metadata. This is a required parameter.

Returns:
the Output File

setOutput

public void setOutput(Object output)
Sets the Output File parameter of this tool . This parameter is File, a standalone XML file that will be created containing the transformed metadata. This is a required parameter.

Parameters:
output - File, a standalone XML file that will be created containing the transformed metadata.

getToolName

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

Returns:
the tool name

getToolboxName

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

Returns:
the tool box name

getToolboxAlias

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

Returns:
the tool box alias