Home | Trees | Index | Help |
---|
Package RDFMessage :: Module Writers |
|
Writer classes. Copyright (C) 2006 Paul Boddie <paul@boddie.org.uk> This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Classes | |
---|---|
Writer |
Function Summary | |
---|---|
Using the given 'store', return a new DOM document containing the resource rooted at the given 'main_node', configured using the optional 'qualifier' and 'value_as_attribute' parameters. | |
Using the given 'store', make a new DOM document with the given 'label' on the root element containing the resources found at the given 'nodes', configured using the optional 'qualifier' and 'value_as_attribute' parameters. | |
Write to the document 'doc' within the given 'root' element, using the given 'store', the 'main_node' (if specified) or the given 'nodes' (if specified instead). | |
Write to the given 'stream', using the given 'store', the 'main_node' (if specified) or the given 'nodes' (if specified instead). |
Function Details |
---|
get_document(store, main_node=None, qualifier=None, value_as_attribute=0)Using the given 'store', return a new DOM document containing the resource rooted at the given 'main_node', configured using the optional 'qualifier' and 'value_as_attribute' parameters. |
get_document_for_nodes(store, label, nodes, qualifier=None, value_as_attribute=0)Using the given 'store', make a new DOM document with the given 'label' on the root element containing the resources found at the given 'nodes', configured using the optional 'qualifier' and 'value_as_attribute' parameters. |
write_to_document(doc, root, store, main_node=None, nodes=None, qualifier=None, value_as_attribute=0)Write to the document 'doc' within the given 'root' element, using the given 'store', the 'main_node' (if specified) or the given 'nodes' (if specified instead). The optional 'qualifier' and 'value_as_attribute' settings configure the resulting DOM document. |
write_to_stream(stream, store, main_node=None, nodes=None, *args, **kw)Write to the given 'stream', using the given 'store', the 'main_node' (if specified) or the given 'nodes' (if specified instead). |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Tue Sep 18 23:32:37 2007 | http://epydoc.sf.net |