domnode.h
// Copyright (c) 1999-2018 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_DOMNODE_H
#define RUDIMENTS_DOMNODE_H
#include <rudiments/private/domnodeincludes.h>
enum domnodetype {
NULL_DOMNODETYPE=0,
ROOT_DOMNODETYPE,
TAG_DOMNODETYPE,
ATTRIBUTE_DOMNODETYPE,
TEXT_DOMNODETYPE,
COMMENT_DOMNODETYPE,
CDATA_DOMNODETYPE
};
class dom;
class RUDIMENTS_DLLSPEC domnode {
public:
domnode(dom *dom, domnode *nullnode);
domnode(dom *dom, domnode *nullnode,
domnodetype type,
const char *name,
const char *value);
domnode(dom *dom, domnode *nullnode,
domnodetype type,
const char *ns,
const char *name,
const char *value);
virtual ~domnode();
static domnode *createNullNode(dom *dom);
void cascadeOnDelete();
void dontCascadeOnDelete();
virtual domnodetype getType() const;
virtual const char *getNamespace() const;
virtual const char *getName() const;
virtual const char *getValue() const;
dom *getTree() const;
virtual domnode *getParent() const;
virtual uint64_t getPosition() const;
virtual domnode *getPreviousSibling() const;
domnode *getPreviousTagSibling() const;
domnode *getPreviousTagSibling(const char *name) const;
domnode *getPreviousTagSibling(const char *ns,
const char *name) const;
domnode *getPreviousTagSiblingIgnoringCase(
const char *name) const;
domnode *getPreviousTagSiblingIgnoringCase(
const char *ns,
const char *name) const;
domnode *getPreviousTagSibling(
const char *name,
const char *attributename,
const char *attributevalue) const;
domnode *getPreviousTagSibling(
const char *ns,
const char *name,
const char *attributename,
const char *attributevalue) const;
domnode *getPreviousTagSiblingIgnoringCase(
const char *name,
const char *attributename,
const char *attributevalue) const;
domnode *getPreviousTagSiblingIgnoringCase(
const char *ns,
const char *name,
const char *attributename,
const char *attributevalue) const;
virtual domnode *getNextSibling() const;
domnode *getNextTagSibling() const;
domnode *getNextTagSibling(const char *name) const;
domnode *getNextTagSibling(const char *ns,
const char *name) const;
domnode *getNextTagSiblingIgnoringCase(
const char *name) const;
domnode *getNextTagSiblingIgnoringCase(
const char *ns,
const char *name) const;
domnode *getNextTagSibling(
const char *name,
const char *attributename,
const char *attributevalue) const;
domnode *getNextTagSibling(
const char *ns,
const char *name,
const char *attributename,
const char *attributevalue) const;
domnode *getNextTagSiblingIgnoringCase(
const char *name,
const char *attributename,
const char *attributevalue) const;
domnode *getNextTagSiblingIgnoringCase(
const char *ns,
const char *name,
const char *attributename,
const char *attributevalue) const;
domnode *getNextTagSiblingInSet(
const char * const *set) const;
domnode *getNextTagSiblingInSet(
const char *ns,
const char * const *set) const;
virtual uint64_t getChildCount() const;
virtual domnode *getFirstChild() const;
domnode *getFirstChild(const char *name) const;
domnode *getFirstChild(const char *ns,
const char *name) const;
domnode *getFirstChildIgnoringCase(
const char *name) const;
domnode *getFirstChildIgnoringCase(
const char *ns,
const char *name) const;
domnode *getChild(uint64_t position) const;
domnode *getFirstChild(const char *name,
const char *attributename,
const char *attributevalue)
const;
domnode *getFirstChild(const char *ns,
const char *name,
const char *attributename,
const char *attributevalue)
const;
domnode *getFirstChildIgnoringCase(
const char *name,
const char *attributename,
const char *attributevalue)
const;
domnode *getFirstChildIgnoringCase(
const char *ns,
const char *name,
const char *attributename,
const char *attributevalue)
const;
domnode *getFirstTagChild() const;
domnode *getFirstTagChild(const char *name) const;
domnode *getFirstTagChild(const char *ns,
const char *name) const;
domnode *getFirstTagChildIgnoringCase(
const char *name) const;
domnode *getFirstTagChildIgnoringCase(
const char *ns,
const char *name) const;
domnode *getFirstTagChild(
const char *name,
const char *attributename,
const char *attributevalue) const;
domnode *getFirstTagChild(
const char *ns,
const char *name,
const char *attributename,
const char *attributevalue) const;
domnode *getFirstTagChildIgnoringCase(
const char *name,
const char *attributename,
const char *attributevalue) const;
domnode *getFirstTagChildIgnoringCase(
const char *ns,
const char *name,
const char *attributename,
const char *attributevalue) const;
domnode *getFirstTagChildInSet(
const char * const *set) const;
domnode *getFirstTagChildInSet(
const char *ns,
const char * const *set) const;
domnode *getFirstTagDescendent(const char *name) const;
domnode *getFirstTagDescendent(
const char *ns,
const char *name) const;
domnode *getFirstTagDescendentIgnoringCase(
const char *name) const;
domnode *getFirstTagDescendentIgnoringCase(
const char *ns,
const char *name) const;
domnode *getFirstTagDescendent(
const char *name,
const char *attributename,
const char *attributevalue) const;
domnode *getFirstTagDescendent(
const char *ns,
const char *name,
const char *attributename,
const char *attributevalue) const;
domnode *getFirstTagDescendentIgnoringCase(
const char *name,
const char *attributename,
const char *attributevalue) const;
domnode *getFirstTagDescendentIgnoringCase(
const char *ns,
const char *name,
const char *attributename,
const char *attributevalue) const;
domnode *getFirstTagDescendentInSet(
const char * const *set) const;
domnode *getFirstTagDescendentInSet(
const char *ns,
const char * const *set) const;
domnode *getNextTag() const;
domnode *getNextTag(domnode *top) const;
domnode *getPreviousTag() const;
domnode *getPreviousTag(domnode *top) const;
virtual uint64_t getAttributeCount() const;
virtual domnode *getAttribute(const char *name) const;
virtual domnode *getAttributeIgnoringCase(
const char *name) const;
virtual domnode *getAttribute(uint64_t position) const;
const char *getAttributeValue(const char *name) const;
const char *getAttributeValue(uint64_t position) const;
constnamevaluepairs *getAttributes() const;
void setAttributeValue(const char *name, const char *value);
void setAttributeValue(const char *name, int64_t value);
void setAttributeValue(const char *name, uint64_t value);
domnode *getNullNode() const;
virtual bool isNullNode() const;
virtual void setType(domnodetype type);
virtual void setNamespace(const char *ns);
virtual void setName(const char *name);
void setName(const char *ns, const char *name);
virtual void setValue(const char *value);
virtual void setParent(domnode *parent);
virtual void setPreviousSibling(domnode *previous);
virtual void setNextSibling(domnode *next);
bool insertChild(domnode *child, uint64_t position);
bool appendChild(domnode *child);
domnode *insertTag(const char *tag, uint64_t position);
domnode *insertTag(const char *ns,
const char *tag,
uint64_t position);
domnode *appendTag(const char *tag);
domnode *appendTag(const char *ns, const char *tag);
bool moveChild(domnode *child,
domnode *parent, uint64_t position);
bool deleteChild(uint64_t position);
bool deleteChild(domnode *child);
bool deleteFirstChild(const char *name);
bool deleteFirstChild(const char *ns, const char *name);
bool deleteFirstChildIgnoringCase(const char *name);
bool deleteFirstChildIgnoringCase(const char *ns,
const char *name);
bool deleteFirstChild(const char *name,
const char *attributename,
const char *attributevalue);
bool deleteFirstChild(const char *ns,
const char *name,
const char *attributename,
const char *attributevalue);
bool deleteFirstChildIgnoringCase(
const char *name,
const char *attributename,
const char *attributevalue);
bool deleteFirstChildIgnoringCase(
const char *ns,
const char *name,
const char *attributename,
const char *attributevalue);
bool deleteChildren();
bool deleteChildren(const char *name);
bool deleteChildren(const char *ns, const char *name);
bool deleteChildrenIgnoringCase(const char *name);
bool deleteChildrenIgnoringCase(const char *ns,
const char *name);
bool deleteChildren(const char *name,
const char *attributename,
const char *attributevalue);
bool deleteChildren(const char *ns,
const char *name,
const char *attributename,
const char *attributevalue);
bool deleteChildrenIgnoringCase(
const char *name,
const char *attributename,
const char *attributevalue);
bool deleteChildrenIgnoringCase(
const char *ns,
const char *name,
const char *attributename,
const char *attributevalue);
bool deleteDescendents(const char *name);
bool deleteDescendents(const char *ns,
const char *name);
bool deleteDescendentsIgnoringCase(const char *name);
bool deleteDescendentsIgnoringCase(const char *ns,
const char *name);
bool deleteDescendents(const char *name,
const char *attributename,
const char *attributevalue);
bool deleteDescendents(const char *ns,
const char *name,
const char *attributename,
const char *attributevalue);
bool deleteDescendentsIgnoringCase(
const char *name,
const char *attributename,
const char *attributevalue);
bool deleteDescendentsIgnoringCase(
const char *ns,
const char *name,
const char *attributename,
const char *attributevalue);
bool renameFirstChild(const char *oldname,
const char *newname);
bool renameFirstChild(const char *oldns,
const char *oldname,
const char *newns,
const char *newname);
bool renameFirstChildIgnoringCase(const char *oldname,
const char *newname);
bool renameFirstChildIgnoringCase(const char *oldns,
const char *oldname,
const char *newns,
const char *newname);
bool renameChildren(const char *oldname,
const char *newname);
bool renameChildren(const char *oldns,
const char *oldname,
const char *newns,
const char *newname);
bool renameChildrenIgnoringCase(const char *oldname,
const char *newname);
bool renameChildrenIgnoringCase(const char *oldns,
const char *oldname,
const char *newns,
const char *newname);
bool renameDescendents(const char *oldname,
const char *newname);
bool renameDescendents(const char *oldns,
const char *oldname,
const char *newns,
const char *newname);
bool renameDescendentsIgnoringCase(
const char *oldname,
const char *newname);
bool renameDescendentsIgnoringCase(
const char *oldns,
const char *oldname,
const char *newns,
const char *newname);
bool insertText(const char *value, uint64_t position);
bool appendText(const char *value);
bool insertAttribute(domnode *attribute,
uint64_t position);
bool appendAttribute(domnode *attribute);
bool insertAttribute(const char *name, const char *value,
uint64_t position);
bool appendAttribute(const char *name, const char *value);
bool deleteAttribute(uint64_t position);
bool deleteAttribute(const char *name);
bool deleteAttribute(domnode *attribute);
bool unwrapChild(domnode *child);
bool unwrapFirstChild(const char *name);
bool unwrapFirstChild(const char *ns, const char *name);
bool unwrapFirstChildIgnoringCase(const char *name);
bool unwrapFirstChildIgnoringCase(const char *ns,
const char *name);
bool unwrapChildren(const char *name);
bool unwrapChildren(const char *ns, const char *name);
bool unwrapChildrenIgnoringCase(const char *name);
bool unwrapChildrenIgnoringCase(const char *ns,
const char *name);
bool unwrapDescendents(const char *name);
bool unwrapDescendents(const char *ns, const char *name);
bool unwrapDescendentsIgnoringCase(const char *name);
bool unwrapDescendentsIgnoringCase(const char *ns,
const char *name);
domnode *wrapChild(domnode *child,
const char *name);
domnode *wrapChild(domnode *child,
const char *ns,
const char *name);
domnode *wrapChildren(domnode *startchild,
domnode *endchild,
const char *name);
domnode *wrapChildren(domnode *startchild,
domnode *endchild,
const char *ns,
const char *name);
domnode *wrapChildren(const char *name);
domnode *wrapChildren(const char *ns, const char *name);
virtual domnode *clone();
virtual domnode *clone(dom *dom);
void write(output *out) const;
void write(output *out, bool indent) const;
stringbuffer *getPath() const;
domnode *getChildByPath(const char *path) const;
domnode *getAttributeByPath(const char *path,
uint64_t position) const;
domnode *getAttributeByPath(const char *path,
const char *name) const;
const char *getAttributeValueByPath(const char *path,
uint64_t position) const;
const char *getAttributeValueByPath(const char *path,
const char *name) const;
void setData(void *data);
void *getData();
#include <rudiments/private/domnode.h>
};
#endif
dom
Definition: dom.h:10
domnode
Definition: domnode.h:122
domnode::wrapChildren
domnode * wrapChildren(domnode *startchild, domnode *endchild, const char *ns, const char *name)
domnode::getName
virtual const char * getName() const
domnode::getAttributeValue
const char * getAttributeValue(const char *name) const
domnode::deleteFirstChildIgnoringCase
bool deleteFirstChildIgnoringCase(const char *ns, const char *name, const char *attributename, const char *attributevalue)
domnode::getFirstTagChildIgnoringCase
domnode * getFirstTagChildIgnoringCase(const char *ns, const char *name) const
domnode::getNextTagSibling
domnode * getNextTagSibling() const
domnode::insertTag
domnode * insertTag(const char *tag, uint64_t position)
domnode::getChildByPath
domnode * getChildByPath(const char *path) const
domnode::deleteChildrenIgnoringCase
bool deleteChildrenIgnoringCase(const char *name, const char *attributename, const char *attributevalue)
domnode::wrapChildren
domnode * wrapChildren(const char *ns, const char *name)
domnode::deleteDescendentsIgnoringCase
bool deleteDescendentsIgnoringCase(const char *ns, const char *name)
domnode::renameChildrenIgnoringCase
bool renameChildrenIgnoringCase(const char *oldname, const char *newname)
domnode::getPath
stringbuffer * getPath() const
domnode::getFirstTagDescendent
domnode * getFirstTagDescendent(const char *ns, const char *name) const
domnode::getAttribute
virtual domnode * getAttribute(uint64_t position) const
domnode::domnode
domnode(dom *dom, domnode *nullnode, domnodetype type, const char *name, const char *value)
domnode::renameDescendentsIgnoringCase
bool renameDescendentsIgnoringCase(const char *oldname, const char *newname)
domnode::getPreviousSibling
virtual domnode * getPreviousSibling() const
domnode::getNextTagSiblingIgnoringCase
domnode * getNextTagSiblingIgnoringCase(const char *ns, const char *name) const
domnode::getFirstTagDescendentInSet
domnode * getFirstTagDescendentInSet(const char *const *set) const
domnode::getFirstTagDescendentIgnoringCase
domnode * getFirstTagDescendentIgnoringCase(const char *ns, const char *name) const
domnode::appendChild
bool appendChild(domnode *child)
domnode::getNextTagSibling
domnode * getNextTagSibling(const char *ns, const char *name) const
domnode::getNextTagSiblingIgnoringCase
domnode * getNextTagSiblingIgnoringCase(const char *ns, const char *name, const char *attributename, const char *attributevalue) const
domnode::getPreviousTagSiblingIgnoringCase
domnode * getPreviousTagSiblingIgnoringCase(const char *ns, const char *name, const char *attributename, const char *attributevalue) const
domnode::renameDescendents
bool renameDescendents(const char *oldns, const char *oldname, const char *newns, const char *newname)
domnode::getNextTagSibling
domnode * getNextTagSibling(const char *name, const char *attributename, const char *attributevalue) const
domnode::appendAttribute
bool appendAttribute(domnode *attribute)
domnode::deleteAttribute
bool deleteAttribute(uint64_t position)
domnode::getType
virtual domnodetype getType() const
domnode::getAttribute
virtual domnode * getAttribute(const char *name) const
domnode::renameFirstChild
bool renameFirstChild(const char *oldns, const char *oldname, const char *newns, const char *newname)
domnode::getFirstChildIgnoringCase
domnode * getFirstChildIgnoringCase(const char *name) const
domnode::wrapChild
domnode * wrapChild(domnode *child, const char *ns, const char *name)
domnode::getFirstTagChildInSet
domnode * getFirstTagChildInSet(const char *const *set) const
domnode::getData
void * getData()
domnode::unwrapFirstChild
bool unwrapFirstChild(const char *ns, const char *name)
domnode::wrapChild
domnode * wrapChild(domnode *child, const char *name)
domnode::renameDescendents
bool renameDescendents(const char *oldname, const char *newname)
domnode::getPreviousTagSibling
domnode * getPreviousTagSibling(const char *ns, const char *name, const char *attributename, const char *attributevalue) const
domnode::getNextTagSiblingInSet
domnode * getNextTagSiblingInSet(const char *ns, const char *const *set) const
domnode::getFirstTagChild
domnode * getFirstTagChild(const char *name) const
domnode::renameChildren
bool renameChildren(const char *oldns, const char *oldname, const char *newns, const char *newname)
domnode::unwrapFirstChildIgnoringCase
bool unwrapFirstChildIgnoringCase(const char *name)
domnode::setNamespace
virtual void setNamespace(const char *ns)
domnode::deleteDescendentsIgnoringCase
bool deleteDescendentsIgnoringCase(const char *name, const char *attributename, const char *attributevalue)
domnode::domnode
domnode(dom *dom, domnode *nullnode)
domnode::getFirstTagDescendentIgnoringCase
domnode * getFirstTagDescendentIgnoringCase(const char *ns, const char *name, const char *attributename, const char *attributevalue) const
domnode::getNullNode
domnode * getNullNode() const
domnode::getFirstTagChild
domnode * getFirstTagChild(const char *ns, const char *name, const char *attributename, const char *attributevalue) const
domnode::deleteDescendentsIgnoringCase
bool deleteDescendentsIgnoringCase(const char *ns, const char *name, const char *attributename, const char *attributevalue)
domnode::unwrapDescendents
bool unwrapDescendents(const char *ns, const char *name)
domnode::deleteChild
bool deleteChild(domnode *child)
domnode::renameChildren
bool renameChildren(const char *oldname, const char *newname)
domnode::getNextTagSibling
domnode * getNextTagSibling(const char *ns, const char *name, const char *attributename, const char *attributevalue) const
domnode::getPreviousTagSibling
domnode * getPreviousTagSibling(const char *name) const
domnode::getFirstTagDescendent
domnode * getFirstTagDescendent(const char *name, const char *attributename, const char *attributevalue) const
domnode::getTree
dom * getTree() const
domnode::getFirstTagDescendentInSet
domnode * getFirstTagDescendentInSet(const char *ns, const char *const *set) const
domnode::deleteChildren
bool deleteChildren(const char *ns, const char *name)
domnode::deleteAttribute
bool deleteAttribute(const char *name)
domnode::getNextTagSiblingInSet
domnode * getNextTagSiblingInSet(const char *const *set) const
domnode::deleteFirstChildIgnoringCase
bool deleteFirstChildIgnoringCase(const char *name)
domnode::renameFirstChild
bool renameFirstChild(const char *oldname, const char *newname)
domnode::unwrapFirstChild
bool unwrapFirstChild(const char *name)
domnode::getChild
domnode * getChild(uint64_t position) const
domnode::setPreviousSibling
virtual void setPreviousSibling(domnode *previous)
domnode::unwrapFirstChildIgnoringCase
bool unwrapFirstChildIgnoringCase(const char *ns, const char *name)
domnode::getFirstTagChild
domnode * getFirstTagChild(const char *name, const char *attributename, const char *attributevalue) const
domnode::deleteChildren
bool deleteChildren(const char *name, const char *attributename, const char *attributevalue)
domnode::getFirstTagChildIgnoringCase
domnode * getFirstTagChildIgnoringCase(const char *name) const
domnode::getNextTag
domnode * getNextTag(domnode *top) const
domnode::unwrapChildrenIgnoringCase
bool unwrapChildrenIgnoringCase(const char *ns, const char *name)
domnode::getFirstChild
domnode * getFirstChild(const char *ns, const char *name) const
domnode::moveChild
bool moveChild(domnode *child, domnode *parent, uint64_t position)
domnode::getNamespace
virtual const char * getNamespace() const
domnode::deleteDescendents
bool deleteDescendents(const char *name)
domnode::renameFirstChildIgnoringCase
bool renameFirstChildIgnoringCase(const char *oldname, const char *newname)
domnode::getNextTagSiblingIgnoringCase
domnode * getNextTagSiblingIgnoringCase(const char *name, const char *attributename, const char *attributevalue) const
domnode::deleteChildrenIgnoringCase
bool deleteChildrenIgnoringCase(const char *name)
domnode::getAttributeCount
virtual uint64_t getAttributeCount() const
domnode::clone
virtual domnode * clone(dom *dom)
domnode::createNullNode
static domnode * createNullNode(dom *dom)
domnode::unwrapChild
bool unwrapChild(domnode *child)
domnode::getFirstTagChildIgnoringCase
domnode * getFirstTagChildIgnoringCase(const char *name, const char *attributename, const char *attributevalue) const
domnode::getPreviousTagSiblingIgnoringCase
domnode * getPreviousTagSiblingIgnoringCase(const char *ns, const char *name) const
domnode::getFirstChild
virtual domnode * getFirstChild() const
domnode::deleteDescendentsIgnoringCase
bool deleteDescendentsIgnoringCase(const char *name)
domnode::renameFirstChildIgnoringCase
bool renameFirstChildIgnoringCase(const char *oldns, const char *oldname, const char *newns, const char *newname)
domnode::getFirstChild
domnode * getFirstChild(const char *name) const
domnode::setParent
virtual void setParent(domnode *parent)
domnode::isNullNode
virtual bool isNullNode() const
domnode::domnode
domnode(dom *dom, domnode *nullnode, domnodetype type, const char *ns, const char *name, const char *value)
domnode::deleteDescendents
bool deleteDescendents(const char *ns, const char *name)
domnode::appendTag
domnode * appendTag(const char *ns, const char *tag)
domnode::setName
virtual void setName(const char *name)
domnode::setData
void setData(void *data)
domnode::getAttributeByPath
domnode * getAttributeByPath(const char *path, uint64_t position) const
domnode::appendText
bool appendText(const char *value)
domnode::deleteFirstChild
bool deleteFirstChild(const char *name)
domnode::getNextTag
domnode * getNextTag() const
domnode::write
void write(output *out, bool indent) const
domnode::getFirstTagChildIgnoringCase
domnode * getFirstTagChildIgnoringCase(const char *ns, const char *name, const char *attributename, const char *attributevalue) const
domnode::deleteChildrenIgnoringCase
bool deleteChildrenIgnoringCase(const char *ns, const char *name, const char *attributename, const char *attributevalue)
domnode::getFirstTagChild
domnode * getFirstTagChild() const
domnode::getPreviousTag
domnode * getPreviousTag() const
domnode::setAttributeValue
void setAttributeValue(const char *name, int64_t value)
domnode::insertAttribute
bool insertAttribute(const char *name, const char *value, uint64_t position)
domnode::write
void write(output *out) const
domnode::getChildCount
virtual uint64_t getChildCount() const
domnode::appendAttribute
bool appendAttribute(const char *name, const char *value)
domnode::deleteDescendents
bool deleteDescendents(const char *name, const char *attributename, const char *attributevalue)
domnode::getFirstTagChildInSet
domnode * getFirstTagChildInSet(const char *ns, const char *const *set) const
domnode::appendTag
domnode * appendTag(const char *tag)
domnode::setType
virtual void setType(domnodetype type)
domnode::renameDescendentsIgnoringCase
bool renameDescendentsIgnoringCase(const char *oldns, const char *oldname, const char *newns, const char *newname)
domnode::clone
virtual domnode * clone()
domnode::getFirstTagDescendent
domnode * getFirstTagDescendent(const char *name) const
domnode::getAttributeValueByPath
const char * getAttributeValueByPath(const char *path, uint64_t position) const
domnode::getFirstTagChild
domnode * getFirstTagChild(const char *ns, const char *name) const
domnode::getParent
virtual domnode * getParent() const
domnode::wrapChildren
domnode * wrapChildren(const char *name)
domnode::deleteChildrenIgnoringCase
bool deleteChildrenIgnoringCase(const char *ns, const char *name)
domnode::getNextTagSiblingIgnoringCase
domnode * getNextTagSiblingIgnoringCase(const char *name) const
domnode::getFirstChild
domnode * getFirstChild(const char *ns, const char *name, const char *attributename, const char *attributevalue) const
domnode::unwrapChildren
bool unwrapChildren(const char *name)
domnode::getFirstChildIgnoringCase
domnode * getFirstChildIgnoringCase(const char *ns, const char *name, const char *attributename, const char *attributevalue) const
domnode::unwrapDescendentsIgnoringCase
bool unwrapDescendentsIgnoringCase(const char *ns, const char *name)
domnode::renameChildrenIgnoringCase
bool renameChildrenIgnoringCase(const char *oldns, const char *oldname, const char *newns, const char *newname)
domnode::getPreviousTagSibling
domnode * getPreviousTagSibling() const
domnode::getFirstTagDescendentIgnoringCase
domnode * getFirstTagDescendentIgnoringCase(const char *name) const
domnode::insertText
bool insertText(const char *value, uint64_t position)
domnode::~domnode
virtual ~domnode()
domnode::getFirstChildIgnoringCase
domnode * getFirstChildIgnoringCase(const char *name, const char *attributename, const char *attributevalue) const
domnode::deleteFirstChildIgnoringCase
bool deleteFirstChildIgnoringCase(const char *ns, const char *name)
domnode::dontCascadeOnDelete
void dontCascadeOnDelete()
domnode::setValue
virtual void setValue(const char *value)
domnode::deleteFirstChild
bool deleteFirstChild(const char *ns, const char *name, const char *attributename, const char *attributevalue)
domnode::deleteChildren
bool deleteChildren(const char *name)
domnode::getFirstChild
domnode * getFirstChild(const char *name, const char *attributename, const char *attributevalue) const
domnode::getNextTagSibling
domnode * getNextTagSibling(const char *name) const
domnode::insertAttribute
bool insertAttribute(domnode *attribute, uint64_t position)
domnode::insertChild
bool insertChild(domnode *child, uint64_t position)
domnode::getNextSibling
virtual domnode * getNextSibling() const
domnode::getAttributeIgnoringCase
virtual domnode * getAttributeIgnoringCase(const char *name) const
domnode::getFirstTagDescendent
domnode * getFirstTagDescendent(const char *ns, const char *name, const char *attributename, const char *attributevalue) const
domnode::deleteFirstChildIgnoringCase
bool deleteFirstChildIgnoringCase(const char *name, const char *attributename, const char *attributevalue)
domnode::getValue
virtual const char * getValue() const
domnode::unwrapChildren
bool unwrapChildren(const char *ns, const char *name)
domnode::cascadeOnDelete
void cascadeOnDelete()
domnode::deleteFirstChild
bool deleteFirstChild(const char *name, const char *attributename, const char *attributevalue)
domnode::getAttributeValue
const char * getAttributeValue(uint64_t position) const
domnode::deleteChild
bool deleteChild(uint64_t position)
domnode::deleteAttribute
bool deleteAttribute(domnode *attribute)
domnode::getAttributes
constnamevaluepairs * getAttributes() const
domnode::getPreviousTagSibling
domnode * getPreviousTagSibling(const char *name, const char *attributename, const char *attributevalue) const
domnode::getAttributeValueByPath
const char * getAttributeValueByPath(const char *path, const char *name) const
domnode::wrapChildren
domnode * wrapChildren(domnode *startchild, domnode *endchild, const char *name)
domnode::deleteDescendents
bool deleteDescendents(const char *ns, const char *name, const char *attributename, const char *attributevalue)
domnode::setNextSibling
virtual void setNextSibling(domnode *next)
domnode::setAttributeValue
void setAttributeValue(const char *name, uint64_t value)
domnode::insertTag
domnode * insertTag(const char *ns, const char *tag, uint64_t position)
domnode::getPreviousTagSibling
domnode * getPreviousTagSibling(const char *ns, const char *name) const
domnode::getPreviousTagSiblingIgnoringCase
domnode * getPreviousTagSiblingIgnoringCase(const char *name) const
domnode::setAttributeValue
void setAttributeValue(const char *name, const char *value)
domnode::getPreviousTag
domnode * getPreviousTag(domnode *top) const
domnode::unwrapChildrenIgnoringCase
bool unwrapChildrenIgnoringCase(const char *name)
domnode::getAttributeByPath
domnode * getAttributeByPath(const char *path, const char *name) const
domnode::setName
void setName(const char *ns, const char *name)
domnode::getFirstTagDescendentIgnoringCase
domnode * getFirstTagDescendentIgnoringCase(const char *name, const char *attributename, const char *attributevalue) const
domnode::unwrapDescendentsIgnoringCase
bool unwrapDescendentsIgnoringCase(const char *name)
domnode::getPreviousTagSiblingIgnoringCase
domnode * getPreviousTagSiblingIgnoringCase(const char *name, const char *attributename, const char *attributevalue) const
domnode::deleteFirstChild
bool deleteFirstChild(const char *ns, const char *name)
domnode::deleteChildren
bool deleteChildren(const char *ns, const char *name, const char *attributename, const char *attributevalue)
domnode::getFirstChildIgnoringCase
domnode * getFirstChildIgnoringCase(const char *ns, const char *name) const
domnode::deleteChildren
bool deleteChildren()
domnode::unwrapDescendents
bool unwrapDescendents(const char *name)
domnode::getPosition
virtual uint64_t getPosition() const
output
Definition: output.h:9
stringbuffer
Definition: stringbuffer.h:13