org.fao.oaipmh.responses
Class ListRecordsResponse
java.lang.Object
org.fao.oaipmh.responses.AbstractResponse
org.fao.oaipmh.responses.ListResponse
org.fao.oaipmh.responses.ListRecordsResponse
public class ListRecordsResponse
- extends ListResponse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListRecordsResponse
public ListRecordsResponse()
ListRecordsResponse
public ListRecordsResponse(ListRequest lr,
org.jdom.Element response)
next
public Record next()
throws java.io.IOException,
OaiPmhException,
org.jdom.JDOMException,
org.xml.sax.SAXException,
java.lang.Exception
- Overrides:
next
in class ListResponse
- Throws:
java.io.IOException
OaiPmhException
org.jdom.JDOMException
org.xml.sax.SAXException
java.lang.Exception
clearRecords
public void clearRecords()
addRecord
public void addRecord(Record r)
getRecordsCount
public int getRecordsCount()
toXml
public org.jdom.Element toXml()
- Specified by:
toXml
in class AbstractResponse
createObject
protected java.lang.Object createObject(org.jdom.Element object)
- Specified by:
createObject
in class ListResponse
getListElementName
protected java.lang.String getListElementName()
- Specified by:
getListElementName
in class ListResponse