library: libXMLParser
#include "TDOMParser.h"

TDOMParser


class description - source file - inheritance tree (.pdf)

class TDOMParser : public TXMLParser

Inheritance Chart:
TObject
TQObject
<-
TXMLParser
<-
TDOMParser
    private:
Int_t ParseContext() public:
TDOMParser() TDOMParser(const TDOMParser&) virtual ~TDOMParser() static TClass* Class() virtual TXMLDocument* GetXMLDocument() const virtual TClass* IsA() const TDOMParser& operator=(const TDOMParser&) virtual Int_t ParseBuffer(const char* buffer, Int_t len) virtual Int_t ParseFile(const char* filename) virtual void ReleaseUnderlying() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
TXMLDocument* fTXMLDoc xmlDoc

Class Description

                                                                      
 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.        
                                                                      


TDOMParser() : fTXMLDoc(0)
 TDOMParser constructor

~TDOMParser()
 TDOMParser destructor, it calls ReleaseUnderlying().

void ReleaseUnderlying()
 Release any existing document.

Int_t ParseFile(const char *filename)
 Parse the XML file where filename is the XML file name.
 It will create a TXMLDocument if the file is parsed without
 any error. It returns parse code error in case of parse error,
 see TXMLParser.

Int_t ParseBuffer(const char *buffer, Int_t len)
 It parses a buffer, much like ParseFile().

Int_t ParseContext()
 Creates a XML document for the parser.
 It returns 0 on success, -1 if no XML document was created and
 -5 if the document is not well formated.

TXMLDocument* GetXMLDocument() const
 Returns the TXMLDocument.



Inline Functions


            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
         TDOMParser TDOMParser(const TDOMParser&)
        TDOMParser& operator=(const TDOMParser&)


Author: Jose Lo 12/4/2005
Last update: root/xmlparser:$Name: $:$Id: TDOMParser.cxx,v 1.1 2005/05/11 13:19:50 rdm Exp $
Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.