|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectse.kb.oai.ore.impl.FactoryBase
public abstract class FactoryBase
Abstract base class for the different ResourceMapFactory implementations.
| Constructor Summary | |
|---|---|
FactoryBase()
|
|
| Method Summary | |
|---|---|
abstract ResourceMap |
getResourceMap(Element root)
Parse the XML and create a ResourceMap from it. |
ResourceMap |
getResourceMap(String url)
Parse the content of the URL and create a ResourceMap
from it. |
ResourceMap |
getResourceMap(URL url)
Parse the content of the URL and create a ResourceMap
from it. |
ResourceMap |
newResourceMap(String uri)
Create a new ResourceMap with this id. |
ResourceMap |
newResourceMap(URI uri)
Create a new ResourceMap with this id. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FactoryBase()
| Method Detail |
|---|
public ResourceMap newResourceMap(String uri)
throws URISyntaxException
ResourceMapFactoryResourceMap with this id.
newResourceMap in interface ResourceMapFactoryuri - the id
URISyntaxExceptionpublic ResourceMap newResourceMap(URI uri)
ResourceMapFactoryResourceMap with this id.
newResourceMap in interface ResourceMapFactoryuri - the id
public ResourceMap getResourceMap(URL url)
throws OAIException
ResourceMapFactoryResourceMap
from it.
getResourceMap in interface ResourceMapFactoryurl - a URL
OAIException
public ResourceMap getResourceMap(String url)
throws OAIException
ResourceMapFactoryResourceMap
from it.
getResourceMap in interface ResourceMapFactoryurl - a URL
OAIException
public abstract ResourceMap getResourceMap(Element root)
throws OAIException
ResourceMapFactoryResourceMap from it.
getResourceMap in interface ResourceMapFactoryroot - a XML element
OAIException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||