|
|||||||||
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.ValidateMetadata
public class ValidateMetadata
Exports metadata to a standard metadata format then validates the exported file. The Validate Metadata tool is contained in the Conversion Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
ValidateMetadata()
Creates the Validate Metadata tool with defaults. |
|
ValidateMetadata(Object sourceMetadata,
Object translator,
String schemaURL,
Object outputFile)
Creates the Validate Metadata tool with the required parameters. |
Method Summary | |
---|---|
String |
getNamespaceURI()
Returns the Namespace URI parameter of this tool . |
Object |
getOutputFile()
Returns the Output File parameter of this tool . |
String |
getSchemaURL()
Returns the Schema URL parameter of this tool . |
Object |
getSourceMetadata()
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 |
getTranslator()
Returns the Translator parameter of this tool . |
void |
setNamespaceURI(String namespaceURI)
Sets the Namespace URI parameter of this tool . |
void |
setOutputFile(Object outputFile)
Sets the Output File parameter of this tool . |
void |
setSchemaURL(String schemaURL)
Sets the Schema URL parameter of this tool . |
void |
setSourceMetadata(Object sourceMetadata)
Sets the Source Metadata parameter of this tool . |
void |
setTranslator(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 |
---|
public ValidateMetadata()
Initializes the array of tool parameters with the default values specified when the tool was created.
public ValidateMetadata(Object sourceMetadata, Object translator, String schemaURL, Object outputFile)
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 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 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.outputFile
- a stand-alone XML file that will be created containing the converted metadata.Method Detail |
---|
public Object getSourceMetadata()
public void setSourceMetadata(Object sourceMetadata)
sourceMetadata
- the item whose metadata will be validated, or a stand-alone XML file that will be validated.public Object getTranslator()
public void setTranslator(Object translator)
translator
- an XML file that defines the conversion that will be performed. the translator files provided with ArcGIS Desktop can be found in the public String getSchemaURL()
public void setSchemaURL(String schemaURL)
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.public String getNamespaceURI()
public void setNamespaceURI(String namespaceURI)
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.public Object getOutputFile()
public void setOutputFile(Object outputFile)
outputFile
- a stand-alone XML file that will be created containing the converted metadata.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 |