Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TSAXParserCallback Class Reference

Definition at line 47 of file TSAXParser.cxx.

Static Public Member Functions

static void CdataBlock (void *fParser, const xmlChar *value, Int_t len)
 CdataBlock Callback function.
 
static void Characters (void *fParser, const xmlChar *ch, Int_t len)
 Character callback function.
 
static void Comment (void *fParser, const xmlChar *value)
 Comment callback function.
 
static void EndDocument (void *fParser)
 EndDocument callback function.
 
static void EndElement (void *fParser, const xmlChar *name)
 EndElement callback function, where name is the name of the element.
 
static void Error (void *fParser, const char *fmt,...)
 Error callback function.
 
static void FatalError (void *fParser, const char *fmt,...)
 FactalError callback function.
 
static void StartDocument (void *fParser)
 StartDocument Callback function.
 
static void StartElement (void *fParser, const xmlChar *name, const xmlChar **p)
 StartElement callback function, where name is the name of the element and p contains the attributes for the start tag.
 
static void Warning (void *fParser, const char *fmt,...)
 Warning callback function.
 

Member Function Documentation

◆ CdataBlock()

void TSAXParserCallback::CdataBlock ( void *  fParser,
const xmlChar *  value,
Int_t  len 
)
static

CdataBlock Callback function.

Definition at line 429 of file TSAXParser.cxx.

◆ Characters()

void TSAXParserCallback::Characters ( void *  fParser,
const xmlChar *  ch,
Int_t  len 
)
static

Character callback function.

It is called when there are characters that are outside of tags get parsed and the context will be stored in ch, len is the length of ch.

Definition at line 328 of file TSAXParser.cxx.

◆ Comment()

void TSAXParserCallback::Comment ( void *  fParser,
const xmlChar *  value 
)
static

Comment callback function.

Comment of the xml file will be parsed to value.

Definition at line 346 of file TSAXParser.cxx.

◆ EndDocument()

void TSAXParserCallback::EndDocument ( void *  fParser)
static

EndDocument callback function.

Definition at line 285 of file TSAXParser.cxx.

◆ EndElement()

void TSAXParserCallback::EndElement ( void *  fParser,
const xmlChar *  name 
)
static

EndElement callback function, where name is the name of the element.

Definition at line 317 of file TSAXParser.cxx.

◆ Error()

void TSAXParserCallback::Error ( void *  fParser,
const char *  fmt,
  ... 
)
static

Error callback function.

Errors while parsing a xml file will be stored at fmt.

Definition at line 376 of file TSAXParser.cxx.

◆ FatalError()

void TSAXParserCallback::FatalError ( void *  fParser,
const char *  fmt,
  ... 
)
static

FactalError callback function.

Factal errors while parsing a xml file will be stored at fmt.

Definition at line 405 of file TSAXParser.cxx.

◆ StartDocument()

void TSAXParserCallback::StartDocument ( void *  fParser)
static

StartDocument Callback function.

Definition at line 276 of file TSAXParser.cxx.

◆ StartElement()

void TSAXParserCallback::StartElement ( void *  fParser,
const xmlChar *  name,
const xmlChar **  p 
)
static

StartElement callback function, where name is the name of the element and p contains the attributes for the start tag.

Definition at line 295 of file TSAXParser.cxx.

◆ Warning()

void TSAXParserCallback::Warning ( void *  fParser,
const char *  fmt,
  ... 
)
static

Warning callback function.

Warnings while parsing a xml file will be stored at fmt.

Definition at line 356 of file TSAXParser.cxx.


The documentation for this class was generated from the following file: