00001
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef PARSER_H
00025
00026 #define PARSER_H 1
00027
00028 #include "BridgeStub.h"
00029 #include <iostream.h>
00030 #include <sax/SAXParseException.hpp>
00031 #include <util/XercesDefs.hpp>
00032 #include <sax/ErrorHandler.hpp>
00033 #include <util/PlatformUtils.hpp>
00034 #include <util/XMLString.hpp>
00035 #include <util/XMLUniDefs.hpp>
00036 #include <framework/XMLFormatter.hpp>
00037 #include <util/TranscodingException.hpp>
00038 #include <dom/DOM_DOMException.hpp>
00039 #include <parsers/DOMParser.hpp>
00040 #include <dom/DOM.hpp>
00041 #include <dom/DOMString.hpp>
00042 #include "DOMTreeErrorReporter.h"
00043 #include "DOMPrintFormatTarget.h"
00045 extern ostream& operator<<(ostream& target, const DOMString& s);
00046 #include <framework/MemBufInputSource.hpp>
00047
00048 extern void addComment (DOM_Document &doc, DOM_Node &node, const char *rem);
00049 extern void addTextI (DOM_Document &doc, DOM_Node &node, int num);
00050 extern void addTextU (DOM_Document &doc, DOM_Node &node, unsigned int num);
00051 extern void addTextD (DOM_Document &doc, DOM_Node &node, double num);
00052 extern void addTextC (DOM_Document &doc, DOM_Node &node, XMLCh bt);
00053 extern void addText (DOM_Document &doc, DOM_Node &node, const char *st);
00054 extern void addText (DOM_Document &doc, DOM_Node &node, unsigned short *st);
00055 extern DOM_Element addElement (DOM_Document &doc, DOM_Node &node, const char *st);
00056 extern void createEmptySoap (DOM_Document &doc, DOM_Element &soapEnvelope, DOM_Element &soapBody);
00057 extern void addHeader (DOM_Document &doc, DOM_Element &envel, DOM_Element &soapHeader,
00058 const char *objRef = NULL, const char *ctxKey = NULL, const char *soapAction = NULL);
00059 extern void importHeader (DOM_Document &doc, DOM_Element &envel, DOM_Element &soapHeader);
00060 extern CString DOM2CS (DOMString &ds);
00061 extern CString DOM2CS (DOM_Element &el);
00062
00063 #endif // PARSER_H
00064