DomDocumentHandler Class

Definition

Line 26 of System.Dom/Parser.cm

Inheritance

Constructors & Destructor

public DomDocumentHandler()

Member Functions

public void AddTextContent()
public void AddTextContent(bool addSpace)
public override void Encoding(const String<uchar>& encoding)
public override void EndDocument()
public override void EndElement(const String<uchar>& namespaceUri, const String<uchar>& localName, const String<uchar>& qualifiedName)
public UniquePtr<Document> GetDocument()
public override void HandleCDataSection(const String<uchar>& data)
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 override void SkippedEntity(const String<uchar>& entityName)
public override void Standalone(bool standalone)
public override void StartDocument()
public override void StartElement(const String<uchar>& namespaceUri, const String<uchar>& localName, const String<uchar>& qualifiedName, const Attributes& attributes)
public override void Version(const String<uchar>& xmlVersion)

Member Variables

private UniquePtr<Element> currentElement
private UniquePtr<Document> document
private Stack<UniquePtr<Element>> elementStack
private String<uchar> textContent

Constructor& Destructor Details

DomDocumentHandler Constructor

public DomDocumentHandler()

Definition
Line 28 of System.Dom/Parser.cm


Member Function Details

AddTextContent Member Function

public void AddTextContent()

Definition
Line 36 of System.Dom/Parser.cm


AddTextContent Member Function

public void AddTextContent(bool addSpace)

Definition
Line 40 of System.Dom/Parser.cm


Encoding Member Function

public override void Encoding(const String<uchar>& encoding)

Definition
Line 71 of System.Dom/Parser.cm


EndDocument Member Function

public override void EndDocument()

Definition
Line 60 of System.Dom/Parser.cm


EndElement Member Function

public override void EndElement(const String<uchar>& namespaceUri, const String<uchar>& localName, const String<uchar>& qualifiedName)

Definition
Line 134 of System.Dom/Parser.cm


GetDocument Member Function

public UniquePtr<Document> GetDocument()

Definition
Line 32 of System.Dom/Parser.cm


HandleCDataSection Member Function

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

Definition
Line 105 of System.Dom/Parser.cm


HandleComment Member Function

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

Definition
Line 79 of System.Dom/Parser.cm


HandlePI Member Function

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

Definition
Line 92 of System.Dom/Parser.cm


HandleText Member Function

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

Definition
Line 75 of System.Dom/Parser.cm


SkippedEntity Member Function

public override void SkippedEntity(const String<uchar>& entityName)

Definition
Line 149 of System.Dom/Parser.cm


Standalone Member Function

public override void Standalone(bool standalone)

Definition
Line 67 of System.Dom/Parser.cm


StartDocument Member Function

public override void StartDocument()

Definition
Line 57 of System.Dom/Parser.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 118 of System.Dom/Parser.cm


Version Member Function

public override void Version(const String<uchar>& xmlVersion)

Definition
Line 63 of System.Dom/Parser.cm