uk.org.ogsadai.engine
  Interface RequestFactory
  
    - All Known Implementing Classes:
 
    - ActivityRequestFactory
 
  
  
  
    - public interface RequestFactory
 
  
  An interface for creating requests suitable for processing by an OGSA-DAI RequestEngine from OGSA-DAI perform documents.
  
  
  
    - Author:
 
    - The OGSA-DAI Project Team
 
  
  
  
   
  
  
  createRequest
  
public Request createRequest(org.w3c.dom.Document document,
                             RequestContext context)
                      throws RequestSpecificationException,
                             RequestExecutionException,
                             ActivityAccessAuthorizationException
  
    - 
      Create a request from the specified XML perform document.
      
    
 
    - 
      
        - Parameters:
 
        document - a perform document to build the request from. 
        context - context of the request. 
        - Returns:
 
        - a concrete 
Request ready for submission to a RequestEngine. 
        - Throws:
 
        RequestSpecificationException - if the request is incorrectly specified e.g. does not match the perform document schema or contains an unsupported activity. 
        RequestExecutionException - if some problem prevents creation of the request. 
        ActivityAccessAuthorizationException - if an activity could not be authorized