fr.gouv.culture.oai
Interface OAIResponse

All Superinterfaces:
org.xml.sax.ContentHandler, org.apache.avalon.framework.context.Contextualizable, org.xml.sax.ext.LexicalHandler, org.apache.avalon.framework.logger.LogEnabled, OAIObject, org.apache.excalibur.xml.sax.XMLConsumer, org.apache.excalibur.xml.sax.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/interfaces inherited from interface 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, STRING_DATEFORMAT_GRANULARITY_DAY, STRING_DATEFORMAT_GRANULARITY_SECOND
 
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.framework.context.Contextualizable
contextualize
 
Methods inherited from interface org.apache.excalibur.xml.sax.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

void setRequest(OAIRequest request)
Sets the oai request


getRequest

OAIRequest getRequest()
Gets the oai request


setRepository

void setRepository(OAIRepository repository)
Sets the repository


getRepository

OAIRepository getRepository()
Gets the repository


sendResponse

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-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.