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

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

public class ValidateMetadataMultiple
extends AbstractGPTool

Exports metadata for many ArcGIS items to a designated folder, then validates the exported files. This tool is a model that uses Validate Metadata to validate metadata for many ArcGIS items. The Validate Metadata Multiple tool is contained in the Conversion Tools tool box.

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
ValidateMetadataMultiple()
          Creates the Validate Metadata Multiple tool with defaults.
ValidateMetadataMultiple(java.lang.Object sourceMetadata, java.lang.Object translator, java.lang.Object outputFolder, java.lang.String schemaURL)
          Creates the Validate Metadata Multiple tool with the required parameters.
 
Method Summary
 java.lang.String getNamespaceURI()
          Returns the Namespace URI parameter of this tool .
 java.lang.Object getOutputFolder()
          Returns the Output Folder parameter of this tool .
 java.lang.Object getOutputValues()
          Returns the Output Values parameter of this tool (Read only).
 java.lang.String getSchemaURL()
          Returns the Schema URL parameter of this tool .
 java.lang.Object getSourceMetadata()
          Returns the Source Metadata parameter of this tool .
 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.
 java.lang.Object getTranslator()
          Returns the Translator parameter of this tool .
 void setNamespaceURI(java.lang.String namespaceURI)
          Sets the Namespace URI parameter of this tool .
 void setOutputFolder(java.lang.Object outputFolder)
          Sets the Output Folder parameter of this tool .
 void setSchemaURL(java.lang.String schemaURL)
          Sets the Schema URL parameter of this tool .
 void setSourceMetadata(java.lang.Object sourceMetadata)
          Sets the Source Metadata parameter of this tool .
 void setTranslator(java.lang.Object translator)
          Sets the Translator 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

ValidateMetadataMultiple

public ValidateMetadataMultiple()
Creates the Validate Metadata Multiple tool with defaults.

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


ValidateMetadataMultiple

public ValidateMetadataMultiple(java.lang.Object sourceMetadata,
                                java.lang.Object translator,
                                java.lang.Object outputFolder,
                                java.lang.String schemaURL)
Creates the Validate Metadata Multiple 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:
sourceMetadata - the item whose metadata will be validated, or a stand-alone XML file that will be validated.
translator - an XML file that defines the conversion that will be performed. the translator files provided with ArcGIS Desktop can be found in the \Metadata\Translator folder. The following conversions are supported: the ArcGIS to ISO 19139 conversion will be used by default if another translator is not specified.
outputFolder - an existing folder where the output XML files containing the converted metadata will be stored.
schemaURL - the XML Schema or XML DTD that describes the structure and content of a valid XML document. the XML Schema associated with ISO standard 19139, , will be used for validation if another URL is not specified.
Method Detail

getSourceMetadata

public java.lang.Object getSourceMetadata()
Returns the Source Metadata parameter of this tool . This parameter is the item whose metadata will be validated, or a stand-alone XML file that will be validated. This is a required parameter.

Returns:
the Source Metadata

setSourceMetadata

public void setSourceMetadata(java.lang.Object sourceMetadata)
Sets the Source Metadata parameter of this tool . This parameter is the item whose metadata will be validated, or a stand-alone XML file that will be validated. This is a required parameter.

Parameters:
sourceMetadata - the item whose metadata will be validated, or a stand-alone XML file that will be validated.

getTranslator

public java.lang.Object getTranslator()
Returns the Translator parameter of this tool . This parameter is an XML file that defines the conversion that will be performed. the translator files provided with ArcGIS Desktop can be found in the \Metadata\Translator folder. The following conversions are supported: the ArcGIS to ISO 19139 conversion will be used by default if another translator is not specified. This is a required parameter.

Returns:
the Translator

setTranslator

public void setTranslator(java.lang.Object translator)
Sets the Translator parameter of this tool . This parameter is an XML file that defines the conversion that will be performed. the translator files provided with ArcGIS Desktop can be found in the \Metadata\Translator folder. The following conversions are supported: the ArcGIS to ISO 19139 conversion will be used by default if another translator is not specified. This is a required parameter.

Parameters:
translator - an XML file that defines the conversion that will be performed. the translator files provided with ArcGIS Desktop can be found in the \Metadata\Translator folder. The following conversions are supported: the ArcGIS to ISO 19139 conversion will be used by default if another translator is not specified.

getOutputFolder

public java.lang.Object getOutputFolder()
Returns the Output Folder parameter of this tool . This parameter is an existing folder where the output XML files containing the converted metadata will be stored. This is a required parameter.

Returns:
the Output Folder

setOutputFolder

public void setOutputFolder(java.lang.Object outputFolder)
Sets the Output Folder parameter of this tool . This parameter is an existing folder where the output XML files containing the converted metadata will be stored. This is a required parameter.

Parameters:
outputFolder - an existing folder where the output XML files containing the converted metadata will be stored.

getSchemaURL

public java.lang.String getSchemaURL()
Returns the Schema URL parameter of this tool . This parameter is the XML Schema or XML DTD that describes the structure and content of a valid XML document. the XML Schema associated with ISO standard 19139, , will be used for validation if another URL is not specified. This is a required parameter.

Returns:
the Schema URL

setSchemaURL

public void setSchemaURL(java.lang.String schemaURL)
Sets the Schema URL parameter of this tool . This parameter is the XML Schema or XML DTD that describes the structure and content of a valid XML document. the XML Schema associated with ISO standard 19139, , will be used for validation if another URL is not specified. This is a required parameter.

Parameters:
schemaURL - the XML Schema or XML DTD that describes the structure and content of a valid XML document. the XML Schema associated with ISO standard 19139, , will be used for validation if another URL is not specified.

getNamespaceURI

public java.lang.String getNamespaceURI()
Returns the Namespace URI parameter of this tool . This parameter is the XML namespace that will be validated. the Namespace URI associated with the ISO 19139 metadata standard will be used for validation if another XML Schema or DTD is not specified. if Schema URL identifies a DTD this value won't be used; provide # instead of a namespace URI. This is an optional parameter.

Returns:
the Namespace URI

setNamespaceURI

public void setNamespaceURI(java.lang.String namespaceURI)
Sets the Namespace URI parameter of this tool . This parameter is the XML namespace that will be validated. the Namespace URI associated with the ISO 19139 metadata standard will be used for validation if another XML Schema or DTD is not specified. if Schema URL identifies a DTD this value won't be used; provide # instead of a namespace URI. This is an optional parameter.

Parameters:
namespaceURI - the XML namespace that will be validated. the Namespace URI associated with the ISO 19139 metadata standard will be used for validation if another XML Schema or DTD is not specified. if Schema URL identifies a DTD this value won't be used; provide # instead of a namespace URI.

getOutputValues

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

Returns:
the Output Values

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