Esri Geoportal Server
1.0

com.esri.gpt.catalog.publication
Class ValidationRequest

java.lang.Object
  extended by com.esri.gpt.catalog.publication.PublicationRequest
      extended by com.esri.gpt.catalog.publication.ValidationRequest

public class ValidationRequest
extends PublicationRequest

Handles the validation of a metadata document.


Constructor Summary
ValidationRequest(RequestContext requestContext, String sourceFileName, String sourceXml)
          Constructs a request to publish a metadata document.
 
Method Summary
 void verify()
          Verifies the document.
 
Methods inherited from class com.esri.gpt.catalog.publication.PublicationRequest
determineSourceUri, determineUuid, getConfiguredSchemas, getPublicationRecord, getPublisher, getRequestContext, prepareForPublication, publish, publish
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationRequest

public ValidationRequest(RequestContext requestContext,
                         String sourceFileName,
                         String sourceXml)
Constructs a request to publish a metadata document.

Parameters:
requestContext - the request context
sourceFileName - the file name associated with the verify
sourceXml - the XML content
Method Detail

verify

public void verify()
            throws SchemaException
Verifies the document.

Throws:
SchemaException - if a schems related exception occurs

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.