XmlStats Class

Definition

Line 4 of XmlStats/xmlstats.cm

Inheritance

Constructors & Destructor

public XmlStats(const String<char>& xmlFileName_)

Member Functions

public override void HandleCDataSection(const String<uchar>& cdata)
public override void HandleComment(const String<uchar>& comment)
public override void HandlePI(const String<uchar>& target, const String<uchar>& data)
public override void HandleText(const String<uchar>& text)
public void Print()
public override void StartElement(const String<uchar>& namespaceUri, const String<uchar>& localName, const String<uchar>& qualifiedName, const Attributes& attributes)

Member Variables

private long numAttributes
private long numCharacters
private long numComments
private long numElements
private long numProcessingInstructions
private String<char> xmlFileName

Constructor& Destructor Details

XmlStats Constructor

public XmlStats(const String<char>& xmlFileName_)

Definition
Line 6 of XmlStats/xmlstats.cm


Member Function Details

HandleCDataSection Member Function

public override void HandleCDataSection(const String<uchar>& cdata)

Definition
Line 22 of XmlStats/xmlstats.cm


HandleComment Member Function

public override void HandleComment(const String<uchar>& comment)

Definition
Line 18 of XmlStats/xmlstats.cm


HandlePI Member Function

public override void HandlePI(const String<uchar>& target, const String<uchar>& data)

Definition
Line 14 of XmlStats/xmlstats.cm


HandleText Member Function

public override void HandleText(const String<uchar>& text)

Definition
Line 26 of XmlStats/xmlstats.cm


Print Member Function

public void Print()

Definition
Line 30 of XmlStats/xmlstats.cm


StartElement Member Function

public override void StartElement(const String<uchar>& namespaceUri, const String<uchar>& localName, const String<uchar>& qualifiedName, const Attributes& attributes)

Definition
Line 9 of XmlStats/xmlstats.cm