00001
00002
00007 #ifndef __HELLO_H__
00008 #define __HELLO_H__
00009
00010 #include <string>
00011
00012 #include "libepp_nicbr.H"
00013
00014 LIBEPP_NICBR_NS_BEGIN
00015
00016 using std::string;
00017
00019 class Hello
00020 {
00021 public:
00023 Hello()
00024 {
00025 _xml =
00026 "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>"
00027 "<epp xmlns=\"urn:ietf:params:xml:ns:epp-1.0\" "
00028 "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" "
00029 "xsi:schemaLocation=\"urn:ietf:params:xml:ns:epp-1.0 "
00030 "epp-1.0.xsd\">"
00031 "<hello/>"
00032 "</epp>";
00033 };
00034
00036
00039 string get_xml_format() const
00040 {
00041 return _xml;
00042 }
00043
00044 protected:
00046 string _xml;
00047
00048 };
00049
00050 LIBEPP_NICBR_NS_END
00051 #endif //__HELLO_H__