Package org.ametys.odf.oai
Class GetRecordGenerator
- All Implemented Interfaces:
Poolable,Recyclable,Component,LogEnabled,Serviceable,Generator,SitemapModelComponent,XMLProducer
Generator for the
GetRecord verb.-
Field Summary
Fields inherited from class org.apache.cocoon.generation.AbstractGenerator
objectModel, parameters, resolver, sourceFields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidGenerates SAX events for the current verb.protected Collection<String>Returns a Collection af all possible parameters.protected Collection<String>Returns a Collection af all mandatory parameters.voidservice(ServiceManager serviceManager) Methods inherited from class org.ametys.odf.oai.AbstractOAIVerbGenerator
doGenerateMethods inherited from class org.ametys.odf.oai.AbstractOAIResponseGenerator
generate, generateError, getURLMethods inherited from class org.apache.cocoon.generation.AbstractGenerator
recycle, setupMethods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
setConsumer, setContentHandler, setLexicalHandlerMethods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
-
Constructor Details
-
GetRecordGenerator
public GetRecordGenerator()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
getRequiredParameters
Description copied from class:AbstractOAIVerbGeneratorReturns a Collection af all mandatory parameters.- Specified by:
getRequiredParametersin classAbstractOAIVerbGenerator- Returns:
- a Collection af all mandatory parameters.
-
getAllowedParameters
Description copied from class:AbstractOAIVerbGeneratorReturns a Collection af all possible parameters.- Specified by:
getAllowedParametersin classAbstractOAIVerbGenerator- Returns:
- a Collection af all possible parameters.
-
generateVerb
Description copied from class:AbstractOAIVerbGeneratorGenerates SAX events for the current verb.- Specified by:
generateVerbin classAbstractOAIVerbGenerator- Throws:
IOException- if an I/O error occursSAXException- if an error occursProcessingException- if an error occurs
-