se.kb.oai.pmh
Class ResumptionToken

java.lang.Object
  extended by se.kb.oai.pmh.ResumptionToken

public class ResumptionToken
extends Object

This class represents the resumption token returned from a list request when not all of the content of the query fits in one response. You can use it to get another response that has the next set of content returned from the query. (Which in turn may have a new resumption token.)

The verbs that has responses that can contain a resumption token are:

Author:
Oskar Grenholm, National Library of Sweden

Constructor Summary
ResumptionToken(Element element)
          Create a ResumptionToken from the <resumptionToken> element of a response.
 
Method Summary
 String getExpirationDate()
          Get the date when this resumption token expires.
 String getId()
          Get the id of this resumption token.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResumptionToken

public ResumptionToken(Element element)
Create a ResumptionToken from the <resumptionToken> element of a response.

Parameters:
element -
Method Detail

getId

public String getId()
Get the id of this resumption token.

Returns:
the id

getExpirationDate

public String getExpirationDate()
Get the date when this resumption token expires.

Returns:
the date


Copyright © 2008. All Rights Reserved.