00001
00023 #ifndef _LIBGNURDF_PROPERTY_H_
00024 #define _LIBGNURDF_PROPERTY_H_
00025
00026 #include <libgnurdf/types.h>
00027
00028 #ifdef __cplusplus
00029 extern "C" {
00030 #endif
00031
00059 int rdfGetProperty(RdfElement *parent, const char *property,
00060 RdfNamespace *ns, char **value, RdfElement **element);
00061
00074 RdfElement *rdfSetProperty(RdfElement *parent, const char *property,
00075 RdfNamespace *ns, const char *value);
00076
00089 RdfElement *rdfSetElement(RdfElement *parent, const char *property,
00090 RdfNamespace *ns, RdfElement *element);
00091
00099 void rdfRemoveProperty(RdfElement *parent, const char *property,
00100 RdfNamespace *ns);
00106 void rdfRemoveElement(RdfElement *element);
00107
00108
00110
00120 int rdfGetValue(RdfDescription *desc, const char *property,
00121 RdfNamespace *ns, char **value, RdfElement **element);
00122
00130 RdfElement *rdfSetValue(RdfDescription *desc, const char *property,
00131 RdfNamespace *ns, const char *value);
00132
00135 #ifdef __cplusplus
00136 }
00137 #endif
00138
00139 #endif
00140