top | up | prev | next

DomDocumentHandler Class

Definition at line 22 of Parser.cpp

Constructors

DomDocumentHandler()

Member Functions

void AddTextContent()
void AddTextContent(bool addSpace)
void CDataSection(const std::u32string& data) override
void Comment(const std::u32string& comment) override
void Encoding(const std::u32string& encoding) override
void EndDocument() override
void EndElement(const std::u32string& namespaceUri, const std::u32string& localName, const std::u32string& qualifiedName) override
std::unique_ptr<Document> GetDocument()
void PI(const std::u32string& target, const std::u32string& data) override
void SkippedEntity(const std::u32string& entityName) override
void Standalone(bool standalone) override
void StartDocument() override
void StartElement(const std::u32string& namespaceUri, const std::u32string& localName, const std::u32string& qualifiedName, const Attributes& attributes) override
void Text(const std::u32string& text) override
void Version(const std::u32string& xmlVersion) override

Member Variables

std::unique_ptr<Element> currentElement
std::unique_ptr<Document> document
std::stack<std::unique_ptr<Element>> elementStack
std::u32string textContent

Constructor Details

DomDocumentHandler Constructor

sngxml::dom::DomDocumentHandler::DomDocumentHandler()

Definition at line 48 of Parser.cpp
Declaration at line 25 of Parser.cpp


Member Function Details

AddTextContent Member Function

void sngxml::dom::DomDocumentHandler::AddTextContent()

Definition at line 57 of Parser.cpp
Declaration at line 44 of Parser.cpp

Calls: sngxml::dom::DomDocumentHandler::AddTextContent

Called by: sngxml::dom::DomDocumentHandler::CDataSection , sngxml::dom::DomDocumentHandler::Comment , sngxml::dom::DomDocumentHandler::EndElement , sngxml::dom::DomDocumentHandler::PI


AddTextContent Member Function

void sngxml::dom::DomDocumentHandler::AddTextContent(bool addSpace)

Definition at line 62 of Parser.cpp
Declaration at line 45 of Parser.cpp

Called by: sngxml::dom::DomDocumentHandler::AddTextContent , sngxml::dom::DomDocumentHandler::StartElement


CDataSection Member Function

void sngxml::dom::DomDocumentHandler::CDataSection(const std::u32string& data) override

Definition at line 138 of Parser.cpp
Declaration at line 35 of Parser.cpp

Base class overridden functions: sngxml::xml::XmlContentHandler::CDataSection

Calls: sngxml::dom::DomDocumentHandler::AddTextContent


Comment Member Function

void sngxml::dom::DomDocumentHandler::Comment(const std::u32string& comment) override

Definition at line 110 of Parser.cpp
Declaration at line 33 of Parser.cpp

Base class overridden functions: sngxml::xml::XmlContentHandler::Comment

Calls: sngxml::dom::DomDocumentHandler::AddTextContent


Encoding Member Function

void sngxml::dom::DomDocumentHandler::Encoding(const std::u32string& encoding) override

Definition at line 100 of Parser.cpp
Declaration at line 31 of Parser.cpp

Base class overridden functions: sngxml::xml::XmlContentHandler::Encoding


EndDocument Member Function

void sngxml::dom::DomDocumentHandler::EndDocument() override

Definition at line 85 of Parser.cpp
Declaration at line 28 of Parser.cpp

Base class overridden functions: sngxml::xml::XmlContentHandler::EndDocument


EndElement Member Function

void sngxml::dom::DomDocumentHandler::EndElement(const std::u32string& namespaceUri, const std::u32string& localName, const std::u32string& qualifiedName) override

Definition at line 169 of Parser.cpp
Declaration at line 37 of Parser.cpp

Base class overridden functions: sngxml::xml::XmlContentHandler::EndElement

Calls: sngxml::dom::DomDocumentHandler::AddTextContent


GetDocument Member Function

std::unique_ptr<Document > sngxml::dom::DomDocumentHandler::GetDocument()

Definition at line 52 of Parser.cpp
Declaration at line 26 of Parser.cpp


PI Member Function

void sngxml::dom::DomDocumentHandler::PI(const std::u32string& target, const std::u32string& data) override

Definition at line 124 of Parser.cpp
Declaration at line 34 of Parser.cpp

Base class overridden functions: sngxml::xml::XmlContentHandler::PI

Calls: sngxml::dom::DomDocumentHandler::AddTextContent


SkippedEntity Member Function

void sngxml::dom::DomDocumentHandler::SkippedEntity(const std::u32string& entityName) override

Definition at line 185 of Parser.cpp
Declaration at line 38 of Parser.cpp

Base class overridden functions: sngxml::xml::XmlContentHandler::SkippedEntity


Standalone Member Function

void sngxml::dom::DomDocumentHandler::Standalone(bool standalone) override

Definition at line 95 of Parser.cpp
Declaration at line 30 of Parser.cpp

Base class overridden functions: sngxml::xml::XmlContentHandler::Standalone


StartDocument Member Function

void sngxml::dom::DomDocumentHandler::StartDocument() override

Definition at line 80 of Parser.cpp
Declaration at line 27 of Parser.cpp

Base class overridden functions: sngxml::xml::XmlContentHandler::StartDocument


StartElement Member Function

void sngxml::dom::DomDocumentHandler::StartElement(const std::u32string& namespaceUri, const std::u32string& localName, const std::u32string& qualifiedName, const Attributes & attributes) override

Definition at line 152 of Parser.cpp
Declaration at line 36 of Parser.cpp

Base class overridden functions: sngxml::xml::XmlContentHandler::StartElement

Calls: sngxml::dom::DomDocumentHandler::AddTextContent , sngxml::xml::Attribute::QualifiedName , sngxml::xml::Attribute::Value


Text Member Function

void sngxml::dom::DomDocumentHandler::Text(const std::u32string& text) override

Definition at line 105 of Parser.cpp
Declaration at line 32 of Parser.cpp

Base class overridden functions: sngxml::xml::XmlContentHandler::Text


Version Member Function

void sngxml::dom::DomDocumentHandler::Version(const std::u32string& xmlVersion) override

Definition at line 90 of Parser.cpp
Declaration at line 29 of Parser.cpp

Base class overridden functions: sngxml::xml::XmlContentHandler::Version


top | up | prev | next