Main Page   File List   Globals  

Element.h

Go to the documentation of this file.
00001 
00023 #ifndef _LIBGNURDF_CPP_ELEMENT_H_
00024 #define _LIBGNURDF_CPP_ELEMENT_H_
00025 
00026 #include <libgnurdf/element.h>
00027 
00028 namespace Gnurdf {
00029 
00030 class Element
00031 {
00032     public:
00033         Element();
00034         Element(RdfElement *element);
00035         ~Element();
00036 
00037         void setName(const char *name);
00038         const char *getName() const;
00039         
00040         void setValue(const char *value);
00041         char *getValue() const;
00042 
00043         void setType(int type);
00044         int getType() const;
00045 
00046         void setNamespace(Namespace *ns);
00047         Namespace *getNamespace() const;
00048 
00049         void setResource(const char *uri);
00050         char *getResource() const;
00051     
00052     private:
00053         RdfElement *element;
00054 };
00055 
00056 }; /* namespace Gnurdf */
00057 
00058 #endif /* _LIBGNURDF_CPP_ELEMENT_H_ */
00059 

Generated on Thu Sep 20 16:12:08 2001 for libgnurdf by doxygen1.2.9-20010819 written by Dimitri van Heesch, © 1997-2001