XmlDataElement.h

Go to the documentation of this file.
00001 #ifndef __XMLDATAELEMENT_H__
00002 #define __XMLDATAELEMENT_H__
00003 
00004 /*
00005 
00006 $Id$
00007 
00008 */
00009 
00010 #include "XmlElement.h"
00011 #include "Mime.h"
00012 
00013 // Tag.
00014 
00015 static const char *const XML_TAG_DATA = "data";
00016 
00017 // Attributes.
00018 
00019 static const char *const XML_ATTR_MIME_TYPE     = "mimeType";
00020 static const char *const XML_ATTR_MIME_ENCODING = "mimeEncoding";
00021 
00022 class XmlDataElement : public XmlElement
00023 {
00024 
00025 public:
00026 
00027   XmlDataElement(XmlAttribute *attr = NULL, const String &innerData = "",
00028                  XmlElement* nextChild = NULL, XmlElement *nextSibling = NULL);
00029   virtual ~XmlDataElement();
00030 
00031   String mimeType() const;
00032   MimeEncoding encoding() const;
00033 
00034 private:
00035 
00036   String _mimeType;
00037   MimeEncoding _encoding;
00038 };
00039 
00040 #endif

Generated on Thu Sep 6 20:11:25 2007 for Pylon Application Platform by  doxygen 1.5.1