com.esri.gpt.catalog.publication
Class ValidationRequest
java.lang.Object
com.esri.gpt.catalog.publication.PublicationRequest
com.esri.gpt.catalog.publication.ValidationRequest
public class ValidationRequest
- extends PublicationRequest
Handles the validation of a metadata document.
Method Summary |
void |
verify()
Verifies the document. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidationRequest
public ValidationRequest(RequestContext requestContext,
String sourceFileName,
String sourceXml)
- Constructs a request to publish a metadata document.
- Parameters:
requestContext
- the request contextsourceFileName
- the file name associated with the verifysourceXml
- the XML content
verify
public void verify()
throws SchemaException
- Verifies the document.
- Throws:
SchemaException
- if a schems related exception occurs
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.