fr.gouv.culture.oai
Interface OAIResponse

All Superinterfaces:
org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.avalon.framework.logger.LogEnabled, OAIObject, org.apache.cocoon.xml.XMLConsumer, org.apache.avalon.excalibur.xml.XMLizable, org.apache.cocoon.xml.XMLPipe, org.apache.cocoon.xml.XMLProducer
All Known Implementing Classes:
OAIResponseImpl

public interface OAIResponse
extends OAIObject

The mediator between an OAIRepository and an OAIRequest


Nested Class Summary
 
Nested classes inherited from class fr.gouv.culture.oai.OAIObject
OAIObject.Node
 
Field Summary
 
Fields inherited from interface fr.gouv.culture.oai.OAIObject
HTTP_HEADER_NAME_FROM, HTTP_HEADER_NAME_USER_AGENT, NUMBER_RECORDS_PER_RESPONSE
 
Method Summary
 OAIRepository getRepository()
          Gets the repository
 OAIRequest getRequest()
          Gets the oai request
 void sendResponse()
          Executes the request and sends the response (SAX flow) to the consumer using the request and the repository provided
 void setRepository(OAIRepository repository)
          Sets the repository
 void setRequest(OAIRequest request)
          Sets the oai request
 
Methods inherited from interface org.apache.avalon.framework.logger.LogEnabled
enableLogging
 
Methods inherited from interface org.apache.avalon.excalibur.xml.XMLizable
toSAX
 
Methods inherited from interface org.xml.sax.ContentHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
 
Methods inherited from interface org.xml.sax.ext.LexicalHandler
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity
 
Methods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
 

Method Detail

setRequest

public void setRequest(OAIRequest request)
Sets the oai request


getRequest

public OAIRequest getRequest()
Gets the oai request


setRepository

public void setRepository(OAIRepository repository)
Sets the repository


getRepository

public OAIRepository getRepository()
Gets the repository


sendResponse

public void sendResponse()
                  throws org.xml.sax.SAXException
Executes the request and sends the response (SAX flow) to the consumer using the request and the repository provided

Throws:
org.xml.sax.SAXException


Copyright © 2000-2004 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.