|
|||||||||
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.USGSMPTranslator
public class USGSMPTranslator
Uses the USGS metadata parser utility, known as mp, to export or validate FGDC metadata content. The mp utility is created and maintained by the USGS for managing metadata that follows the FGDC The USGS MP Metadata Translator tool is contained in the Conversion Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
USGSMPTranslator()
Creates the USGS MP Metadata Translator tool with defaults. |
|
USGSMPTranslator(Object source)
Creates the USGS MP Metadata Translator tool with the required parameters. |
Method Summary | |
---|---|
Object |
getConfig()
Returns the Configuration File parameter of this tool . |
String |
getConversion()
Returns the Conversion Type parameter of this tool . |
Object |
getErrors()
Returns the Log File parameter of this tool . |
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. |
void |
setConfig(Object config)
Sets the Configuration File parameter of this tool . |
void |
setConversion(String conversion)
Sets the Conversion Type parameter of this tool . |
void |
setErrors(Object errors)
Sets the Log File 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 . |
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 USGSMPTranslator()
Initializes the array of tool parameters with the default values specified when the tool was created.
public USGSMPTranslator(Object source)
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 converted, or a stand-alone XML file that will be converted.Method Detail |
---|
public Object getSource()
public void setSource(Object source)
source
- the item whose metadata will be converted, or a stand-alone XML file that will be converted.public Object getConfig()
public void setConfig(Object config)
config
- a file that defines custom parameters that mp will consider when processing the metadata. to export metadata without using a configuration file, provide # instead of a file name.public String getConversion()
public void setConversion(String conversion)
conversion
- the type of conversion that will take place. by default, the "XML" conversion will be performed.public Object getOutput()
public void setOutput(Object output)
output
- a file that will be created containing the converted metadata. the type of file created is defined by the conversion type. to check for problems in the FGDC metadata using mp and not produce a output file, provide # instead of a file name.public Object getErrors()
public void setErrors(Object errors)
errors
- a text file that will be created listing the warnings and errors that occurred during the conversion process. to export metadata without producing a log file, provide # instead of a file name.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 |