uscxml::DOMUtils Class Reference

Public Types

enum  Order { POSTFIX, DOCUMENT, NO_RECURSE }
 

Static Public Member Functions

static std::list< XERCESC_NS::DOMElement * > filterChildElements (const std::string &tagName, const XERCESC_NS::DOMElement *node, bool recurse=false)
 
static std::list< XERCESC_NS::DOMElement * > filterChildElements (const std::string &tagName, const std::list< XERCESC_NS::DOMElement * > &nodeSet, bool recurse=false)
 
static std::list< XERCESC_NS::DOMNode * > filterChildType (const XERCESC_NS::DOMNode::NodeType type, const XERCESC_NS::DOMNode *node, bool recurse=false)
 
static std::list< XERCESC_NS::DOMNode * > filterChildType (const XERCESC_NS::DOMNode::NodeType type, const std::list< XERCESC_NS::DOMNode * > &nodeSet, bool recurse=false)
 
static void filterElementGeneric (const std::set< std::string > &elements, std::list< XERCESC_NS::DOMElement * > &result, const XERCESC_NS::DOMElement *root, const Order order, const bool includeEmbeddedDoc, const bool includeRoot)
 
static std::list< XERCESC_NS::DOMElement * > filterElementGeneric (const std::set< std::string > &elements, const XERCESC_NS::DOMElement *root, const Order order, const bool includeEmbeddedDoc, const bool includeRoot)
 
static void filterTypeGeneric (const std::set< XERCESC_NS::DOMNode::NodeType > &types, std::list< XERCESC_NS::DOMNode * > &result, const XERCESC_NS::DOMNode *root, const Order order, const bool includeEmbeddedDoc, const bool includeRoot)
 
static std::list< XERCESC_NS::DOMNode * > filterTypeGeneric (const std::set< XERCESC_NS::DOMNode::NodeType > &types, const XERCESC_NS::DOMNode *root, const Order order, const bool includeEmbeddedDoc, const bool includeRoot)
 
static const XERCESC_NS::DOMElement * getNearestAncestor (const XERCESC_NS::DOMNode *node, const std::string tagName)
 
static bool hasIntersection (const std::list< XERCESC_NS::DOMElement * > &l1, const std::list< XERCESC_NS::DOMElement * > &l2)
 
static std::string idForNode (const XERCESC_NS::DOMNode *node)
 
static std::list< XERCESC_NS::DOMElement * > inDocumentOrder (const std::set< std::string > &elements, const XERCESC_NS::DOMElement *root, const bool includeEmbeddedDoc=false)
 
static std::list< XERCESC_NS::DOMElement * > inPostFixOrder (const std::set< std::string > &elements, const XERCESC_NS::DOMElement *root, const bool includeEmbeddedDoc=false)
 
static bool isDescendant (const XERCESC_NS::DOMNode *s1, const XERCESC_NS::DOMNode *s2)
 
static bool isMember (const XERCESC_NS::DOMElement *node, const std::list< XERCESC_NS::DOMElement * > &list)
 
static bool isMember (const XERCESC_NS::DOMNode *node, const std::list< XERCESC_NS::DOMNode * > &list)
 
static bool isMember (const XERCESC_NS::DOMNode *node, const XERCESC_NS::DOMNodeList *list)
 
static std::string xPathForNode (const XERCESC_NS::DOMNode *node, const std::string &ns="")
 

The documentation for this class was generated from the following files: