#include <XMLParser.h>
Definition at line 131 of file XMLParser.h.
◆ XmlElement()
XmlElement::XmlElement |
( |
XmlNode * | _pParentNode, |
|
|
const String & | _name, |
|
|
const StringStringArray & | _attrs ) |
◆ ~XmlElement()
XmlElement::~XmlElement |
( |
| ) |
|
|
virtual |
Definition at line 232 of file XMLParser.cpp.
233{
234 for (PointerArray::Iterator it = __children.begin();
235 it != __children.end(); it++) {
237 }
238}
XmlNode(XmlNode *_pParentNode)
◆ addChildNode()
void XmlElement::addChildNode |
( |
XmlNode * | pNode | ) |
|
Definition at line 240 of file XMLParser.cpp.
241{
242 __children.add(pNode);
243}
◆ attrs()
const StringStringArray & XmlElement::attrs |
( |
| ) |
const |
|
inline |
◆ children()
const PointerArray & XmlElement::children |
( |
| ) |
const |
|
inline |
◆ innerText()
const String XmlElement::innerText |
( |
| ) |
const |
Definition at line 245 of file XMLParser.cpp.
246{
248
249 for (PointerArray::ConstIterator it = __children.begin();
250 it != __children.end(); it++) {
254 }
255 else {
257 }
258 }
259
261}
#define CLASSINFO(class_name)
bool isInstanceOf(const std::type_info &typeinfo) const
XmlElement(XmlNode *_pParentNode, const String &_name, const StringStringArray &_attrs)
const String innerText() const
virtual String toString() const
◆ innerXml()
const String XmlElement::innerXml |
( |
| ) |
const |
Definition at line 263 of file XMLParser.cpp.
264{
266
267 for (PointerArray::ConstIterator it = __children.begin();
268 it != __children.end(); it++) {
272 r.append(String::escape(s, s.length(), String::ESCAPE_XML));
273 }
274 else {
276 }
277 }
279}
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: