|
|||||||||
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.XMLSchemaValidator
public class XMLSchemaValidator
Uses the .NET 3.5 Framework's XML software to validate an ArcGIS item's metadata or any XML file. The XML is checked to see if it follows the structure and content rules outlined by an XML schema. Schemas written using the DTD or W3C XML Schema languages may be used with this tool. The XML Schema Validation tool is contained in the Conversion Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
XMLSchemaValidator()
Creates the XML Schema Validation tool with defaults. |
|
XMLSchemaValidator(Object source,
String schemaurl)
Creates the XML Schema Validation tool with the required parameters. |
Method Summary | |
---|---|
String |
getNsuri()
Returns the Namespace URI parameter of this tool . |
Object |
getOutput()
Returns the Output Metadata parameter of this tool (Read only). |
String |
getSchemaurl()
Returns the Schema URL 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 |
setNsuri(String nsuri)
Sets the Namespace URI parameter of this tool . |
void |
setSchemaurl(String schemaurl)
Sets the Schema URL 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 XMLSchemaValidator()
Initializes the array of tool parameters with the default values specified when the tool was created.
public XMLSchemaValidator(Object source, String schemaurl)
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 validated, or a stand-alone XML file that will be validated.schemaurl
- the XML Schema or XML DTD that describes the structure and content of a valid XML document.Method Detail |
---|
public Object getSource()
public void setSource(Object source)
source
- the item whose metadata will be validated, or a stand-alone XML file that will be validated.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.public String getNsuri()
public void setNsuri(String nsuri)
nsuri
- the XML namespace that will be validated. if Schema URL identifies a DTD this value won't be used.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 |