|
|||||||||
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.ImportMetadata
public class ImportMetadata
Imports metadata to the target item after converting the source item's metadata to ArcGIS metadata, if appropriate. The source and target may be ArcGIS items or stand-alone metadata XML files. The Import Metadata tool is contained in the Conversion Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
ImportMetadata()
Creates the Import Metadata tool with defaults. |
|
ImportMetadata(Object sourceMetadata,
String importType,
Object targetMetadata,
String enableAutomaticUpdates)
Creates the Import Metadata tool with the required parameters. |
Method Summary | |
---|---|
String |
getEnableAutomaticUpdates()
Returns the Enable automatic updates parameter of this tool . |
String |
getImportType()
Returns the Import Type parameter of this tool . |
Object |
getOutputMetadata()
Returns the Output Metadata parameter of this tool (Read only). |
Object |
getSourceMetadata()
Returns the Source Metadata parameter of this tool . |
Object |
getTargetMetadata()
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 |
setEnableAutomaticUpdates(String enableAutomaticUpdates)
Sets the Enable automatic updates parameter of this tool . |
void |
setImportType(String importType)
Sets the Import Type parameter of this tool . |
void |
setSourceMetadata(Object sourceMetadata)
Sets the Source Metadata parameter of this tool . |
void |
setTargetMetadata(Object targetMetadata)
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 ImportMetadata()
Initializes the array of tool parameters with the default values specified when the tool was created.
public ImportMetadata(Object sourceMetadata, String importType, Object targetMetadata, String enableAutomaticUpdates)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
sourceMetadata
- 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.importType
- the format of the metadata that will be imported. by default, the "FROM_ISO_19139" conversion will be performed.targetMetadata
- the item to which the metadata will be imported, or a stand-alone XML file that will be replaced.enableAutomaticUpdates
- nullMethod Detail |
---|
public Object getSourceMetadata()
public void setSourceMetadata(Object sourceMetadata)
sourceMetadata
- 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 String getImportType()
public void setImportType(String importType)
importType
- the format of the metadata that will be imported. by default, the "FROM_ISO_19139" conversion will be performed.public Object getTargetMetadata()
public void setTargetMetadata(Object targetMetadata)
targetMetadata
- the item to which the metadata will be imported, or a stand-alone XML file that will be replaced.public String getEnableAutomaticUpdates()
public void setEnableAutomaticUpdates(String enableAutomaticUpdates)
enableAutomaticUpdates
- nullpublic Object getOutputMetadata()
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 |