Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Parser.h

Go to the documentation of this file.
00001 
00005 /* --------------------------------------------------------------
00006 Copyright (C) 2001 LifeLine Networks BV <soap2corba@lifeline.nl>
00007 
00008 This program is free software; you can redistribute it and/or
00009 modify it under the terms of the GNU General Public License
00010 as published by the Free Software Foundation; either
00011 version 2 of the License, or (at your option) any later
00012 version.
00013 
00014 This program is distributed in the hope that it will be useful,
00015 but WITHOUT ANY WARRANTY; without even the implied warranty of
00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017 GNU General Public License for more details.
00018 
00019 You should have received a copy of the GNU General Public License
00020 along with this program; if not, write to the Free Software
00021 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
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 

This documentation is part of the "SOAP to CORBA bridge" project
Copyright © 2000 by Lifeline Networks bv.
All rights are reserved.