se.kb.oai.pmh
Class Header

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

public class Header
extends Object

Class that holds the information returned in the <header> part of a response. The verbs that has responses that includes a header are GetRecord, ListRecords and ListIdentifiers.

Author:
Oskar Grenholm, National Library of Sweden

Constructor Summary
Header(Node node)
          Creates a Header object.
 
Method Summary
 String getDatestamp()
          Get the datestamp.
 String getIdentifier()
          Get the identifier.
 List<String> getSetSpecs()
          Get a list of sets.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Header

public Header(Node node)
Creates a Header object.

Parameters:
node - the <header> node
Method Detail

getIdentifier

public String getIdentifier()
Get the identifier.

Returns:
the identifier

getDatestamp

public String getDatestamp()
Get the datestamp.

Returns:
the datestamp

getSetSpecs

public List<String> getSetSpecs()
Get a list of sets.

Returns:
a list of sets


Copyright © 2008. All Rights Reserved.