Package org.ametys.odf.oai
Class ListIdentifiersGenerator
- All Implemented Interfaces:
Poolable
,Recyclable
,Component
,LogEnabled
,Serviceable
,Generator
,SitemapModelComponent
,XMLProducer
- Direct Known Subclasses:
ListRecordsGenerator
Generator for the
ListIdentifiers
verb.-
Field Summary
Fields inherited from class org.apache.cocoon.generation.AbstractGenerator
objectModel, parameters, resolver, source
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Generates 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.protected String
Returns the surrounding tag name.protected void
saxProgram
(Program program) Generate the program information.void
service
(ServiceManager serviceManager) Methods inherited from class org.ametys.odf.oai.AbstractOAIVerbGenerator
doGenerate
Methods inherited from class org.ametys.odf.oai.AbstractOAIResponseGenerator
generate, generateError, getURL
Methods inherited from class org.apache.cocoon.generation.AbstractGenerator
recycle, setup
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
setConsumer, setContentHandler, setLexicalHandler
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
-
Constructor Details
-
ListIdentifiersGenerator
public ListIdentifiersGenerator()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
getRequiredParameters
Description copied from class:AbstractOAIVerbGenerator
Returns a Collection af all mandatory parameters.- Specified by:
getRequiredParameters
in classAbstractOAIVerbGenerator
- Returns:
- a Collection af all mandatory parameters.
-
getAllowedParameters
Description copied from class:AbstractOAIVerbGenerator
Returns a Collection af all possible parameters.- Specified by:
getAllowedParameters
in classAbstractOAIVerbGenerator
- Returns:
- a Collection af all possible parameters.
-
generateVerb
Description copied from class:AbstractOAIVerbGenerator
Generates SAX events for the current verb.- Specified by:
generateVerb
in classAbstractOAIVerbGenerator
- Throws:
IOException
- if an I/O error occursSAXException
- if an error occursProcessingException
- if an error occurs
-
getTagName
Returns the surrounding tag name.- Returns:
- the surrounding tag name.
-
saxProgram
Generate the program information.- Parameters:
program
- the program- Throws:
SAXException
- if an error occurs
-