Package org.ametys.odf.oai
Class AbstractOAIVerbGenerator
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.generation.AbstractGenerator
org.ametys.odf.oai.AbstractOAIResponseGenerator
org.ametys.odf.oai.AbstractOAIVerbGenerator
- All Implemented Interfaces:
- Poolable,- Recyclable,- Component,- LogEnabled,- Generator,- SitemapModelComponent,- XMLProducer
- Direct Known Subclasses:
- GetRecordGenerator,- IdentifyGenerator,- ListIdentifiersGenerator,- ListMetadataFormatsGenerator,- ListSetsGenerator
Base class for all OAI verb responses.
- 
Field SummaryFields inherited from class org.apache.cocoon.generation.AbstractGeneratorobjectModel, parameters, resolver, sourceFields inherited from class org.apache.cocoon.xml.AbstractXMLProducercontentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected final voidActually generates the OAI response.protected abstract voidGenerates SAX events for the current verb.protected abstract Collection<String>Returns a Collection af all possible parameters.protected abstract Collection<String>Returns a Collection af all mandatory parameters.Methods inherited from class org.ametys.odf.oai.AbstractOAIResponseGeneratorgenerate, generateError, getURLMethods inherited from class org.apache.cocoon.generation.AbstractGeneratorrecycle, setupMethods inherited from class org.apache.cocoon.xml.AbstractXMLProducersetConsumer, setContentHandler, setLexicalHandlerMethods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabledenableLogging, getLogger, setupLogger, setupLogger, setupLoggerMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cocoon.xml.XMLProducersetConsumer
- 
Constructor Details- 
AbstractOAIVerbGeneratorpublic AbstractOAIVerbGenerator()
 
- 
- 
Method Details- 
doGenerateDescription copied from class:AbstractOAIResponseGeneratorActually generates the OAI response.- Specified by:
- doGeneratein class- AbstractOAIResponseGenerator
- Throws:
- IOException- if an I/O error occurs
- SAXException- if an error occurs
- ProcessingException- if an error occurs
 
- 
getRequiredParametersReturns a Collection af all mandatory parameters.- Returns:
- a Collection af all mandatory parameters.
 
- 
getAllowedParametersReturns a Collection af all possible parameters.- Returns:
- a Collection af all possible parameters.
 
- 
generateVerbGenerates SAX events for the current verb.- Throws:
- IOException- if an I/O error occurs
- SAXException- if an error occurs
- ProcessingException- if an error occurs
 
 
-