31 void OnStartDocument() { }
33 void OnStartElement(
const char*,
const TList*);
34 void OnEndElement(
const char*);
35 void OnCharacters(
const char*);
36 void OnComment(
const char*);
37 void OnWarning(
const char*);
38 void OnError(
const char*);
39 void OnFatalError(
const char*);
40 void OnCdataBlock(
const char*,
Int_t);
43void SaxHandler::OnEndDocument()
48void SaxHandler::OnStartElement(
const char *
name,
const TList *attributes)
54 TIter next(attributes);
56 cout <<
" " <<
attr->GetName() <<
"=\"" <<
attr->GetValue() <<
"\"";
62void SaxHandler::OnEndElement(
const char *
name)
64 cout <<
"</" <<
name <<
">";
67void SaxHandler::OnCharacters(
const char *
characters)
72void SaxHandler::OnComment(
const char *
text)
74 cout <<
"<!--" <<
text <<
"-->";
77void SaxHandler::OnWarning(
const char *
text)
79 cout <<
"Warning: " <<
text << endl;
82void SaxHandler::OnError(
const char *
text)
84 cerr <<
"Error: " <<
text << endl ;
87void SaxHandler::OnFatalError(
const char *
text)
89 cerr <<
"FatalError: " <<
text << endl ;
92void SaxHandler::OnCdataBlock(
const char *
text,
Int_t len)
94 cout <<
"OnCdataBlock() " <<
text;
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t UChar_t len
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t attr
Option_t Option_t TPoint TPoint const char text
TSAXParser is a subclass of TXMLParser, it is a wraper class to libxml library.
TXMLAttribute is the attribute of an Element.