public abstract class AbstractDiscobitsHandler extends Object implements DiscobitsHandler
Constructor and Description |
---|
AbstractDiscobitsHandler() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData(UriRef uriRef) |
javax.ws.rs.core.MediaType |
getMediaType(UriRef uriRef) |
protected abstract Set<MetaDataGenerator> |
getMetaDataGenerators()
A
Set containing MetaDataGenerator s to be used
to add meta data to data putted by the handler. |
protected abstract MGraph |
getMGraph() |
void |
put(UriRef infoDiscoBitUri,
javax.ws.rs.core.MediaType mediaType,
byte[] data)
Creates an InfoDiscoBit
|
void |
remove(NonLiteral node)
Removes InfoDiscoBits (aka binary contents), other DiscoBits and
the context of the specified node.
|
protected abstract MGraph getMGraph()
protected abstract Set<MetaDataGenerator> getMetaDataGenerators()
Set
containing MetaDataGenerator
s to be used
to add meta data to data putted by the handler.public void put(UriRef infoDiscoBitUri, javax.ws.rs.core.MediaType mediaType, byte[] data)
DiscobitsHandler
put
in interface DiscobitsHandler
public void remove(NonLiteral node)
DiscobitsHandler
remove
in interface DiscobitsHandler
public byte[] getData(UriRef uriRef)
getData
in interface DiscobitsHandler
public javax.ws.rs.core.MediaType getMediaType(UriRef uriRef)
getMediaType
in interface DiscobitsHandler
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.