XmlValue |
#include <DbXml.hpp>class DbXml::XmlValue { public: ... std::string getNodeHandle() const std::string getNodeName() const std::string getNodeValue() const std::string getNamespaceURI() const std::string getPrefix() const std::string getLocalName() const short getNodeType() const XmlValue getParentNode() const XmlValue getFirstChild() const XmlValue getLastChild() const XmlValue getPreviousSibling() const XmlValue getNextSibling() const XmlResults getAttributes() const XmlValue getOwnerElement() const ... };
Methods to retrieve information and values from an XmlValue object of type XmlValue::NODE.
Returns a string handle representing an XmlValue of type XmlValue::NODE, which can be used to construct a new XmlValue object representing the same node, at a later time, using XmlContainer::getNode. The handle returned encodes its document ID; however, it does not include its container. Matching a node handle to container is the responsibility of the caller.
Node handles are guaranteed to remain stable in the absence of modifications to a document. If a document is modified, a handle may cease to exist, or may belong to a different node.
If the node type is not XmlValue::NODE, XmlException::INVALID_VALUE is thrown.
Returns the name of the node contained in this XmlValue.
If the node type is not XmlValue::NODE, XmlException::INVALID_VALUE is thrown.
Returns the node's value.
If the node type is not XmlValue::NODE, XmlException::INVALID_VALUE is thrown.
Returns the URI used for the node's namespace.
If the node type is not XmlValue::NODE, XmlException::INVALID_VALUE is thrown.
Returns the prefix set for the node's namespace.
If the node type is not XmlValue::NODE, XmlException::INVALID_VALUE is thrown.
Returns the node's local name. For example, if a node has the namespace prefix, "prefix," and its qualified name is prefix:name, then 'name' is the local name.
If the node type is not XmlValue::NODE, XmlException::INVALID_VALUE is thrown.
Returns the short value for this node's XercesC DOMNode::NodeType.
If the node type is not XmlValue::NODE, XmlException::INVALID_VALUE is thrown.
Returns current node's parent. If the node has no parent, a null node is returned.
If the node type is not XmlValue::NODE, XmlException::INVALID_VALUE is thrown.
Returns current node's first child node. If the node has no children, a null node is returned.
If the node type is not XmlValue::NODE, XmlException::INVALID_VALUE is thrown.
Returns current node's last child node. If the node has no children, a null node is returned.
If the node type is not XmlValue::NODE, XmlException::INVALID_VALUE is thrown.
Returns the sibling node immediately preceding this node in the document. If the current node had no siblings preceding it in the document, a null node is returned.
If the node type is not XmlValue::NODE, XmlException::INVALID_VALUE is thrown.
Returns the sibling node immediately following this node in the document. If the current node had no siblings following it in the document, a null node is returned.
If the node type is not XmlValue::NODE, XmlException::INVALID_VALUE is thrown.
Returns returns a XmlResults that contains all of the attributes appearing on this node.
If the node type is not XmlValue::NODE, XmlException::INVALID_VALUE is thrown.
If the current node is an attribute node, returns the document element node that contains this attribute node.
If the node type is not XmlValue::NODE, XmlException::INVALID_VALUE is thrown.
Copyright (c) 1996,2007 Oracle. All rights reserved.