| Method Summary |
| |
__init__(self,
store,
impl,
prefix)
Initialise the store with the given underlying 'store' and
implementation 'impl'. |
| |
add_attribute(self,
parent,
label)
Add to the given 'parent' a special attribute node with the given
'label'. |
| |
add_contains(self,
node,
element)
|
| |
add_name(self,
node,
name)
|
| |
add_node(self,
label,
uriref)
Add a node using the given 'label' to indicate its type and an optional
'uriref' to provide an identity. |
| |
add_value(self,
attribute,
label,
value)
Add to the given 'attribute', described by the given 'label', the
specified 'value'. |
| |
close(self)
Close the underlying store. |
| |
commit(self)
Commit changes to the underlying store if appropriate. |
| |
contexts(self)
Return a list of contexts found in this store. |
| |
get_context(self,
context)
Return a copy of this store which uses the given 'context' to constrain
operations on the stored triples. |
| |
get_label(self,
node)
Return a label representing the given 'node'. |
| |
get_node_type(self,
node)
Return the type of the given 'node'. |
| |
get_uid(self,
node)
Return the uid for the given 'node' (a store identifier). |
| |
has_item(self,
uriref)
|
| |
make_uid(self,
value)
Return a store identifier for the given plain uid 'value'. |
| |
remove_context(self,
context)
Removes the specified 'context' from the database. |
| |
remove_node(self,
node,
deep)
Remove the given 'node' and its attributes from the store. |
| |
rollback(self)
Roll back changes to the underlying store if appropriate. |
| Inherited from AbstractHandler |
| |
get_supported_item_types(self)
|
| |
get_urirefs_for_attribute(self,
attribute)
|
| |
get_urirefs_for_item_type(self,
item_type_name)
|
| |
get_urirefs_for_property_type(self,
property_type_name)
|
| |
parse(self,
f,
name,
uriref)
|
| |
parse_document_fragment(self,
doc,
root,
uriref)
|
| |
supports_item_type(self,
item_type_str)
|
| |
write_to_document(self,
doc,
root,
main_node,
nodes,
qualifier,
value_as_attribute)
|
| |
write_to_stream(self,
stream,
main_node,
nodes,
*args,
**kw)
|