Package org.ametys.odf.oai
Class ListRecordsGenerator
-
- All Implemented Interfaces:
Poolable
,Recyclable
,Component
,LogEnabled
,Serviceable
,Generator
,SitemapModelComponent
,XMLProducer
public class ListRecordsGenerator extends ListIdentifiersGenerator
Generator for theListRecords
verb.
-
-
Field Summary
Fields Modifier and Type Field Description private ExportCDMfrManager
_exportCDMfrManager
-
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 ListRecordsGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getTagName()
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.ListIdentifiersGenerator
generateVerb, getAllowedParameters, getRequiredParameters
-
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
-
_exportCDMfrManager
private ExportCDMfrManager _exportCDMfrManager
-
-
Constructor Detail
-
ListRecordsGenerator
public ListRecordsGenerator()
-
-
Method Detail
-
service
public void service(ServiceManager serviceManager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classListIdentifiersGenerator
- Throws:
ServiceException
-
getTagName
protected String getTagName()
Description copied from class:ListIdentifiersGenerator
Returns the surrounding tag name.- Overrides:
getTagName
in classListIdentifiersGenerator
- Returns:
- the surrounding tag name.
-
saxProgram
protected void saxProgram(Program program) throws SAXException
Generate the program information.- Overrides:
saxProgram
in classListIdentifiersGenerator
- Parameters:
program
- the program- Throws:
SAXException
- if an error occurred while SAXing
-
-