se.kb.oai.ore.impl
Class AtomFactory
java.lang.Object
se.kb.oai.ore.impl.FactoryBase
se.kb.oai.ore.impl.AtomFactory
- All Implemented Interfaces:
- ResourceMapFactory
public class AtomFactory
- extends FactoryBase
The AtomFactory
class implements the ResourceMapFactory
interface to provide the functionality to parse Atom feeds and turn them into
ResourceMap
objects.
- 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 |
AtomFactory
public AtomFactory()
getResourceMap
public ResourceMap getResourceMap(Element feed)
throws OAIException
- Description copied from interface:
ResourceMapFactory
- Parse the XML and create a
ResourceMap
from it.
- Specified by:
getResourceMap
in interface ResourceMapFactory
- Specified by:
getResourceMap
in class FactoryBase
- Parameters:
feed
- a XML element
- Returns:
- a resource map representing the content of the XML
- Throws:
OAIException
Copyright © 2008. All Rights Reserved.