00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef _CEGUIXmlHandlerHelper_h_
00020 #define _CEGUIXmlHandlerHelper_h_
00021
00022
00023 namespace CEGUI
00024 {
00029 class XmlHandlerHelper
00030 {
00031 public:
00046 static char* getAttributeValueAsChar(const XERCES_CPP_NAMESPACE::Attributes& attrs, const char* const attributeName);
00047
00048
00063 static const XMLCh* getAttributeValueAsXmlChar(const XERCES_CPP_NAMESPACE::Attributes& attrs, const char* const attributeName);
00064
00065
00079 static int getAttributeValueAsInteger(const XERCES_CPP_NAMESPACE::Attributes& attrs, const char* const attributeName);
00080
00081
00095 static String getAttributeValueAsString(const XERCES_CPP_NAMESPACE::Attributes& attrs, const char* const attributeName);
00096
00097
00108 static String transcodeXmlCharToString(const XMLCh* const xmlch_str);
00109 };
00110
00111 }
00112
00113 #endif