org.dspace.adapters.rdf
Class DSpaceObjectAdapter
java.lang.Object
org.dspace.adapters.rdf.AdapterSupport
org.dspace.adapters.rdf.DSpaceObjectAdapter
- All Implemented Interfaces:
- Adapter
- Direct Known Subclasses:
- DSpaceCollectionAdapter, DSpaceCommunityAdapter, DSpaceItemAdapter, DSpaceSiteAdapter
public abstract class DSpaceObjectAdapter
- extends AdapterSupport
- implements Adapter
| Methods inherited from class org.dspace.adapters.rdf.AdapterSupport |
createResource, createResource, createResource, createResource, createResource, createResource, createResource, generateDefaultURI, getBaseUri, getContext, getMetadataServiceUri, getMetadataURL, getRDFHander, handleStatement, handleStatement, handleStatement, handleStatement, setBaseUri, setContext, setMetadataServiceUri, setRDFHandler |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DSpaceObjectAdapter
public DSpaceObjectAdapter()
handle
public abstract void handle(DSpaceObject object)
throws org.openrdf.rio.RDFHandlerException
- Description copied from interface:
Adapter
- Generic RDF generation for DSpaceObject, should be overridden in upstream
implementations.
- Specified by:
handle in interface Adapter
- Throws:
org.openrdf.rio.RDFHandlerException
handleChildren
public abstract void handleChildren(DSpaceObject object)
throws org.openrdf.rio.RDFHandlerException
- Specified by:
handleChildren in interface Adapter
- Throws:
org.openrdf.rio.RDFHandlerException
render
public final void render(DSpaceObject object)
throws org.openrdf.rio.RDFHandlerException
- Specified by:
render in interface Adapter
- Throws:
org.openrdf.rio.RDFHandlerException
cleanHTML
public String cleanHTML(String original)
setFactory
public void setFactory(DSpaceAdapterFactory factory)
getFactory
public DSpaceAdapterFactory getFactory()
handleNamespaces
public void handleNamespaces()
throws org.openrdf.rio.RDFHandlerException
- Specified by:
handleNamespaces in interface Adapter
- Throws:
org.openrdf.rio.RDFHandlerException
Copyright © 2008 The DSpace Foundation. All Rights Reserved.