se.kb.oai.ore.impl
Class AtomSerializer

java.lang.Object
  extended by se.kb.oai.ore.impl.SerializerBase
      extended by se.kb.oai.ore.impl.AtomSerializer
All Implemented Interfaces:
ResourceMapSerializer

public class AtomSerializer
extends SerializerBase

The AtomSerializer class implements the ResourceMapSerializer interface to provide the functionality of serializing ResourceMap objects into Atom feeds.

Author:
Oskar Grenholm, National Library of Sweden

Constructor Summary
AtomSerializer()
           
 
Method Summary
protected  String createAtomId()
           
 Element serializeToXml(ResourceMap map)
          Serialize the resource map into XML.
 
Methods inherited from class se.kb.oai.ore.impl.SerializerBase
serializeToFile, serializeToString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtomSerializer

public AtomSerializer()
Method Detail

serializeToXml

public Element serializeToXml(ResourceMap map)
Description copied from interface: ResourceMapSerializer
Serialize the resource map into XML.

Specified by:
serializeToXml in interface ResourceMapSerializer
Specified by:
serializeToXml in class SerializerBase
Parameters:
map - a resource map
Returns:
an Element containing the result of the serialization

createAtomId

protected String createAtomId()


Copyright © 2008. All Rights Reserved.