#include <XMLParser.h>
Definition at line 131 of file XMLParser.h.
◆ XmlElement()
| XmlElement::XmlElement |
( |
XmlNode * | _parentNode, |
|
|
const String & | _name, |
|
|
const StringStringArray & | _attrs ) |
◆ ~XmlElement()
| XmlElement::~XmlElement |
( |
| ) |
|
|
virtual |
Definition at line 238 of file XMLParser.cpp.
239{
240 for (PointerArray::Iterator it = __children.begin();
241 it != __children.end(); it++) {
243 }
244}
XmlNode(XmlNode *_parentNode)
◆ addChildNode()
| void XmlElement::addChildNode |
( |
XmlNode * | _node | ) |
|
Definition at line 246 of file XMLParser.cpp.
247{
248 __children.add(_node);
249}
◆ attrs()
| const StringStringArray & XmlElement::attrs |
( |
| ) |
const |
|
inline |
◆ children()
| const PointerArray & XmlElement::children |
( |
| ) |
const |
|
inline |
◆ innerText()
| const String XmlElement::innerText |
( |
| ) |
const |
Definition at line 251 of file XMLParser.cpp.
252{
254
255 for (PointerArray::ConstIterator it = __children.begin();
256 it != __children.end(); it++
257 ) {
261 }
262 else {
264 }
265 }
266
268}
#define CLASSINFO(class_name)
bool isInstanceOf(const std::type_info &typeinfo) const
const String innerText() const
virtual String toString() const
XmlElement(XmlNode *_parentNode, const String &_name, const StringStringArray &_attrs)
◆ innerXml()
| const String XmlElement::innerXml |
( |
| ) |
const |
Definition at line 270 of file XMLParser.cpp.
271{
273
274 for (PointerArray::ConstIterator it = __children.begin();
275 it != __children.end(); it++
276 ) {
280 r.append(String::escape(s, s.length(), String::ESCAPE_XML));
281 }
282 else {
284 }
285 }
287}
virtual String toString() const
◆ name()
| const String & XmlElement::name |
( |
| ) |
const |
|
inline |
◆ toString()
| virtual String XmlElement::toString |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following files: