Home | Trees | Index | Help |
---|
Package RDFCalendar :: Module Store :: Class Store |
|
AbstractHandler
--+ |AbstractStore
--+ |Store
--+ | Store
A wrapper around a data store, providing convenient access for parsers and writers.
Method Summary | |
---|---|
Return the attribute name for the given store 'predicate' identifier. | |
Return the element name for the given store 'predicate' identifier. | |
get_property_types_for_uriref(self,
uriref)
| |
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)
| |
Inherited from Store | |
Initialise the store with the given underlying 'store' and implementation 'impl'. | |
Add to the given 'parent' a special attribute node with the given 'label'. | |
| |
| |
Add a node using the given 'label' to indicate its type and an optional 'uriref' to provide an identity. | |
Add to the given 'attribute', described by the given 'label', the specified 'value'. | |
Close the underlying store. | |
Commit changes to the underlying store if appropriate. | |
Return a list of contexts found in this store. | |
Return a copy of this store which uses the given 'context' to constrain operations on the stored triples. | |
Return a label representing the given 'node'. | |
Return the type of the given 'node'. | |
Return the uid for the given 'node' (a store identifier). | |
| |
Return a store identifier for the given plain uid 'value'. | |
Removes the specified 'context' from the database. | |
Remove the given 'node' and its attributes from the store. | |
Roll back changes to the underlying store if appropriate. |
Class Variable Summary | |
---|---|
list |
connector_labels = ['related-to', 'organizer', 'attendee...
|
classobj |
DuplicateResourceError = RDFCalendar.Parsers.DuplicateResourceError |
str |
prefix = 'http://www.boddie.org.uk/ns/rdfcalendar/'
|
list |
uriref_labels = ['uri', 'related-to']
|
Method Details |
---|
get_attribute_name(self, predicate)Return the attribute name for the given store 'predicate' identifier. |
get_element_name(self, predicate)Return the element name for the given store 'predicate' identifier. |
Class Variable Details |
---|
connector_labels
|
prefix
|
uriref_labels
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Tue Mar 27 01:15:38 2007 | http://epydoc.sf.net |