#include <libgnurdf/types.h>
Go to the source code of this file.
Backwards-compatibility functions | |
int | rdfGetValue (RdfDescription *desc, const char *property, RdfNamespace *ns, char **value, RdfElement **element) |
Returns the element or its value with the specified name in a Description. More... | |
RdfElement * | rdfSetValue (RdfDescription *desc, const char *property, RdfNamespace *ns, const char *value) |
Sets the value of a property in a description. More... | |
Functions | |
int | rdfGetProperty (RdfElement *parent, const char *property, RdfNamespace *ns, char **value, RdfElement **element) |
Returns the element or its value with the specified name in a description or container. More... | |
RdfElement * | rdfSetProperty (RdfElement *parent, const char *property, RdfNamespace *ns, const char *value) |
Sets the value of a property in a description or container. More... | |
RdfElement * | rdfSetElement (RdfElement *parent, const char *property, RdfNamespace *ns, RdfElement *element) |
Sets the element of a property in a description or container. More... | |
void | rdfRemoveProperty (RdfElement *parent, const char *property, RdfNamespace *ns) |
Removes a property from a description or container. More... | |
void | rdfRemoveElement (RdfElement *element) |
Removes an element from a description or container. More... |
This library 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 Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Returns the element or its value with the specified name in a description or container. To retrieve only the property's value, pass a pointer to a string for value and NULL for element. Likewise, you can retrieve only the element by passing a pointer to a pointer of an RdfElement for element and NULL for value. If you wish to retrieve both the value and the element, pass a pointer to a string for value and a pointer to a pointer of an RdfElement to element.
|
|
Returns the element or its value with the specified name in a Description.
|
|
Removes an element from a description or container.
|
|
Removes a property from a description or container.
|
|
Sets the element of a property in a description or container.
|
|
Sets the value of a property in a description or container.
|
|
Sets the value of a property in a description.
|