Lines Matching refs:XmlElement
26 bool IsPubSubEventItemsElem(const XmlElement* stanza,
32 const XmlElement* event_elem = stanza->FirstNamed(QN_PUBSUB_EVENT);
37 const XmlElement* items_elem = event_elem->FirstNamed(QN_PUBSUB_EVENT_ITEMS);
48 XmlElement* CreatePubSubItemsElem(const std::string& node) {
49 XmlElement* items_elem = new XmlElement(QN_PUBSUB_ITEMS, false);
51 XmlElement* pubsub_elem = new XmlElement(QN_PUBSUB, false);
58 XmlElement* CreatePubSubPublishItemElem(
61 const std::vector<XmlElement*>& children) {
62 XmlElement* pubsub_elem = new XmlElement(QN_PUBSUB, true);
63 XmlElement* publish_elem = new XmlElement(QN_PUBSUB_PUBLISH, false);
65 XmlElement* item_elem = new XmlElement(QN_PUBSUB_ITEM, false);
67 for (std::vector<XmlElement*>::const_iterator child = children.begin();
78 XmlElement* CreatePubSubRetractItemElem(const std::string& node,
80 XmlElement* pubsub_elem = new XmlElement(QN_PUBSUB, true);
81 XmlElement* retract_elem = new XmlElement(QN_PUBSUB_RETRACT, false);
84 XmlElement* item_elem = new XmlElement(QN_PUBSUB_ITEM, false);
91 void ParseItem(const XmlElement* item_elem,
102 void ParseRetract(const XmlElement* retract_elem,
107 void ParseEventItemsElem(const XmlElement* stanza,
109 const XmlElement* event_elem = stanza->FirstNamed(QN_PUBSUB_EVENT);
111 const XmlElement* items_elem =
114 for (const XmlElement* item_elem =
120 for (const XmlElement* retract_elem =
130 void ParsePubSubItemsElem(const XmlElement* stanza,
132 const XmlElement* pubsub_elem = stanza->FirstNamed(QN_PUBSUB);
134 const XmlElement* items_elem = pubsub_elem->FirstNamed(QN_PUBSUB_ITEMS);
136 for (const XmlElement* item_elem = items_elem->FirstNamed(QN_PUBSUB_ITEM);
153 void PubSubRequestTask::HandleResult(const XmlElement* stanza) {
166 bool PubSubReceiveTask::WantsStanza(const XmlElement* stanza) {
171 void PubSubReceiveTask::ReceiveStanza(const XmlElement* stanza) {
181 const std::vector<XmlElement*>& children)
187 void PubSubPublishTask::HandleResult(const XmlElement* stanza) {
200 void PubSubRetractTask::HandleResult(const XmlElement* stanza) {