~ubuntu-branches/ubuntu/breezy/redland-bindings/breezy

« back to all changes in this revision

Viewing changes to docs/pod/RDF/Redland/Statement.html

  • Committer: Bazaar Package Importer
  • Author(s): Fabio M. Di Nitto
  • Date: 2005-06-21 12:56:49 UTC
  • mfrom: (1.1.1 upstream) (0.1.2 sarge)
  • Revision ID: james.westby@ubuntu.com-20050621125649-1uwxez1hdyzw6vzd
Tags: 1.0.2.1-1ubuntu1
* Resynchronise with Debian.

* Fix FTBFS: Add python2.4-dev Build-Dep.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
<h2><a name="methods" id="methods">METHODS</a></h2>
62
62
<dl>
63
63
<dt><strong><a name="item_subject__5bsubject_5d" id="item_subject__5bsubject_5d">subject [SUBJECT]</a></strong><br /></dt>
64
 
<dd>Get/set the statement subject. When RDF::Redland::Node <em>SUBJECT</em> is given, sets the subject of the statement, otherwise returns a reference to the statement RDF::Redland::Node subject.</dd>
 
64
<dd>Get/set the statement subject. When a RDF::Redland::Node <em>SUBJECT</em> is given, sets the subject of the statement, otherwise returns a reference to the statement RDF::Redland::Node subject.</dd>
65
65
<dt><strong><a name="item_predicate__5bpredicate_5d" id="item_predicate__5bpredicate_5d">predicate [PREDICATE]</a></strong><br /></dt>
66
66
<dd>Get/set the statement predicate. When RDF::Redland::Node <em>PREDICATE</em> is given, sets the predicate of the statement, otherwise returns a reference to the statement RDF::Redland::Node predicate.</dd>
67
67
<dt><strong><a name="item_object__5bobject_5d" id="item_object__5bobject_5d">object [OBJECT]</a></strong><br /></dt>
75
75
<h2><a name="old_methods" id="old_methods">OLD METHODS</a></h2>
76
76
<dl>
77
77
<dt><strong><a name="item_new_from_nodes_subject_predicate_object" id="item_new_from_nodes_subject_predicate_object">new_from_nodes SUBJECT PREDICATE OBJECT</a></strong><br /></dt>
78
 
<dd>Create a new RDF::Redland::Statement with the given RDF::Redland::Node objects as parts (or undef when empty for a <em>partial</em> statement). Use $a=new RDF::Redland::Statement($subject, $predicate, $object);</dd>
 
78
<dd>Create a new RDF::Redland::Statement with the given RDF::Redland::Node objects as parts (or undef when empty for a <em>partial</em> statement). Use instead:</dd>
 
79
<dd>
 
80
<pre>
 
81
  $a=new RDF::Redland::Statement($subject, $predicate, $object);
 
82
</pre></dd>
79
83
<dt><strong><a name="item_new_from_statement_statement" id="item_new_from_statement_statement">new_from_statement STATEMENT</a></strong><br /></dt>
80
 
<dd>Create a new RDF::Redland::Statement object from RDF::Redland::Statement <em>STATEMENT</em> (copy constructor).</dd>
 
84
<dd>Create a new RDF::Redland::Statement object from RDF::Redland::Statement <em>STATEMENT</em> (copy constructor). Use instead:</dd>
81
85
<dd>
82
 
<p>Use $s=$old_statement-&gt;clone;</p>
83
 
</dd>
 
86
<pre>
 
87
  $s=$old_statement-&gt;clone;
 
88
</pre></dd>
84
89
</dl>
85
90
 
86
91
<h2><a name="see_also" id="see_also">SEE ALSO</a></h2>
90
95
<p>Dave Beckett - <a href="http://purl.org/net/dajobe/">http://purl.org/net/dajobe/</a></p>
91
96
<hr />
92
97
 
93
 
<p>Copyright 2000-2004 <a href="http://purl.org/net/dajobe/">Dave Beckett</a>, <a href="http://www.ilrt.bris.ac.uk/">Institute for Learning and Research Technology</a>, <a href="http://www.bristol.ac.uk/">University of Bristol</a></p>
 
98
<p>Copyright 2000-2005 <a href="http://purl.org/net/dajobe/">Dave Beckett</a>, <a href="http://www.ilrt.bris.ac.uk/">Institute for Learning and Research Technology</a>, <a href="http://www.bristol.ac.uk/">University of Bristol</a></p>
94
99
 
95
100
</body>
96
101
</html>