// @(#)root/xmlparser:$Id$
// Author: Jose Lo   12/4/2005

/*************************************************************************
 * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TDOMParser
#define ROOT_TDOMParser

//////////////////////////////////////////////////////////////////////////
//                                                                      //
// TDOMParser                                                           //
//                                                                      //
// DOM stands for the Document Object Model; this is an API for         //
// accessing XML or HTML structured documents.                          //
// The Document Object Model is a platform and language-neutral         //
// interface that will allow programs and scripts to dynamically        //
// access and update the content, structure and style of documents.     //
//                                                                      //
// The parser returns a tree built during the document analysis.        //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TXMLParser
#include "TXMLParser.h"
#endif

#ifndef ROOT_TXMLDocument
#include "TXMLDocument.h"
#endif


class TDOMParser : public TXMLParser {

private:
   TXMLDocument *fTXMLDoc;      // xmlDoc

   TDOMParser(const TDOMParser&);            // Not implemented
   TDOMParser& operator=(const TDOMParser&); // Not implemented
   Int_t ParseContext();

public:
   TDOMParser();
   virtual ~TDOMParser();

   virtual Int_t   ParseFile(const char *filename);
   virtual Int_t   ParseBuffer(const char *buffer, Int_t len);
   virtual void    ReleaseUnderlying();

   virtual TXMLDocument *GetXMLDocument() const;

   ClassDef(TDOMParser, 0); // DOM Parser
};

#endif
 TDOMParser.h:1
 TDOMParser.h:2
 TDOMParser.h:3
 TDOMParser.h:4
 TDOMParser.h:5
 TDOMParser.h:6
 TDOMParser.h:7
 TDOMParser.h:8
 TDOMParser.h:9
 TDOMParser.h:10
 TDOMParser.h:11
 TDOMParser.h:12
 TDOMParser.h:13
 TDOMParser.h:14
 TDOMParser.h:15
 TDOMParser.h:16
 TDOMParser.h:17
 TDOMParser.h:18
 TDOMParser.h:19
 TDOMParser.h:20
 TDOMParser.h:21
 TDOMParser.h:22
 TDOMParser.h:23
 TDOMParser.h:24
 TDOMParser.h:25
 TDOMParser.h:26
 TDOMParser.h:27
 TDOMParser.h:28
 TDOMParser.h:29
 TDOMParser.h:30
 TDOMParser.h:31
 TDOMParser.h:32
 TDOMParser.h:33
 TDOMParser.h:34
 TDOMParser.h:35
 TDOMParser.h:36
 TDOMParser.h:37
 TDOMParser.h:38
 TDOMParser.h:39
 TDOMParser.h:40
 TDOMParser.h:41
 TDOMParser.h:42
 TDOMParser.h:43
 TDOMParser.h:44
 TDOMParser.h:45
 TDOMParser.h:46
 TDOMParser.h:47
 TDOMParser.h:48
 TDOMParser.h:49
 TDOMParser.h:50
 TDOMParser.h:51
 TDOMParser.h:52
 TDOMParser.h:53
 TDOMParser.h:54
 TDOMParser.h:55
 TDOMParser.h:56
 TDOMParser.h:57
 TDOMParser.h:58
 TDOMParser.h:59
 TDOMParser.h:60