Package org.ametys.odf.oai
Class ListIdentifiersGenerator
- 
- All Implemented Interfaces:
 Poolable,Recyclable,Component,LogEnabled,Serviceable,Generator,SitemapModelComponent,XMLProducer
- Direct Known Subclasses:
 ListRecordsGenerator
public class ListIdentifiersGenerator extends AbstractOAIVerbGenerator implements Serviceable
Generator for theListIdentifiersverb. 
- 
- 
Field Summary
Fields Modifier and Type Field Description private CatalogsManager_catalogsManagerprivate OaiSetExtensionPoint_oaiSetEPThe OAI-PMH Sets Extension Pointprivate ODFHelper_odfHelper- 
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
Constructors Constructor Description ListIdentifiersGenerator() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidgenerateVerb()Generates SAX events for the current verb.protected Collection<String>getAllowedParameters()Returns a Collection af all possible parameters.protected Collection<String>getRequiredParameters()Returns a Collection af all mandatory parameters.protected StringgetTagName()Returns the surrounding tag name.protected voidsaxProgram(Program program)Generate the program information.voidservice(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 
 - 
 
 - 
 
- 
- 
Field Detail
- 
_oaiSetEP
private OaiSetExtensionPoint _oaiSetEP
The OAI-PMH Sets Extension Point 
- 
_catalogsManager
private CatalogsManager _catalogsManager
 
- 
_odfHelper
private ODFHelper _odfHelper
 
 - 
 
- 
Constructor Detail
- 
ListIdentifiersGenerator
public ListIdentifiersGenerator()
 
 - 
 
- 
Method Detail
- 
service
public void service(ServiceManager serviceManager) throws ServiceException
- Specified by:
 servicein interfaceServiceable- Throws:
 ServiceException
 
- 
getRequiredParameters
protected Collection<String> getRequiredParameters()
Description copied from class:AbstractOAIVerbGeneratorReturns a Collection af all mandatory parameters.- Specified by:
 getRequiredParametersin classAbstractOAIVerbGenerator- Returns:
 - a Collection af all mandatory parameters.
 
 
- 
getAllowedParameters
protected Collection<String> getAllowedParameters()
Description copied from class:AbstractOAIVerbGeneratorReturns a Collection af all possible parameters.- Specified by:
 getAllowedParametersin classAbstractOAIVerbGenerator- Returns:
 - a Collection af all possible parameters.
 
 
- 
generateVerb
protected void generateVerb() throws IOException, SAXException, ProcessingException
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
 
- 
getTagName
protected String getTagName()
Returns the surrounding tag name.- Returns:
 - the surrounding tag name.
 
 
- 
saxProgram
protected void saxProgram(Program program) throws SAXException
Generate the program information.- Parameters:
 program- the program- Throws:
 SAXException- if an error occurs
 
 - 
 
 -