|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.AbstractGPTool com.esri.arcgis.geoprocessing.tools.conversiontools.MetadataImporter
public class MetadataImporter
Copies metadata from the source item to the target item. Metadata is retrieved from the source item and transferred to the target item without changing it. The source and target may be ArcGIS items or stand-alone metadata XML files. The Metadata Importer tool is contained in the Conversion Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
MetadataImporter()
Creates the Metadata Importer tool with defaults. |
|
MetadataImporter(Object source,
Object target)
Creates the Metadata Importer tool with the required parameters. |
Method Summary | |
---|---|
Object |
getOutput()
Returns the Output Metadata parameter of this tool (Read only). |
Object |
getSource()
Returns the Source Metadata parameter of this tool . |
Object |
getTarget()
Returns the Target 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. |
void |
setSource(Object source)
Sets the Source Metadata parameter of this tool . |
void |
setTarget(Object target)
Sets the Target Metadata 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 |
---|
public MetadataImporter()
Initializes the array of tool parameters with the default values specified when the tool was created.
public MetadataImporter(Object source, Object target)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
source
- the item whose metadata will be imported, or a stand-alone XML file that will be imported. if the source item is a stand-alone file it must contain well-formed XML data.target
- the item to which the metadata will be imported, or a stand-alone XML file that will be replaced.Method Detail |
---|
public Object getSource()
public void setSource(Object source)
source
- the item whose metadata will be imported, or a stand-alone XML file that will be imported. if the source item is a stand-alone file it must contain well-formed XML data.public Object getTarget()
public void setTarget(Object target)
target
- the item to which the metadata will be imported, or a stand-alone XML file that will be replaced.public Object getOutput()
public String getToolName()
public String getToolboxName()
public String getToolboxAlias()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |