se.kb.oai.ore.impl
Class AtomSerializer
java.lang.Object
se.kb.oai.ore.impl.SerializerBase
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtomSerializer
public AtomSerializer()
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.