Berkeley DB XML: XmlValue and Related Methods

XmlValueDescription
XmlValueA single result value.
XmlValue::isNullCheck if the value is initialized.
XmlValue::equalsCompare two XmlValue objects.
XmlValue::operator==Compare two XmlValue objects.
Type Information
XmlValue::getTypeGet the type enumeration of the value.
XmlValue::getTypeURIGet the URI for the type.
XmlValue::getTypeNameGet the name of the type.
XmlValue::isTypeCheck type of value.
XmlValue::isNumberCheck if value is a number .
XmlValue::isStringCheck if value is a string .
XmlValue::isBooleanCheck if value is a boolean.
XmlValue::isBinaryCheck if value is binary.
XmlValue::isNodeCheck if value is node.
Value Retrieval
XmlValue::asNumberReturn value as a double.
XmlValue::asStringReturn value as a string.
XmlValue::asBooleanReturn value as a boolean.
XmlValue::asNodeReturn value as DOM node.
XmlValue::asDocumentReturn value as XmlDocument.
XmlValue::asEventReaderReturn value as XmlEventReader.
Node Manipulation
XmlValue::getNodeHandleReturn a string node handle for the value.
XmlValue::getNodeNameGet the name of the node value.
XmlValue::getNodeValueGet the value of the node.
XmlValue::getNamespaceURIGet the node's namespace URI.
XmlValue::getPrefixGet the node's namespace prefix.
XmlValue::getLocalNameGet the node's local name.
XmlValue::getNodeTypeGet the DOM type of the node.
XmlValue::getParentNodeGet the node's parent node.
XmlValue::getFirstChildGet the node's first child.
XmlValue::getLastChildGet the node's last child.
XmlValue::getPreviousSiblingGet the node's previous sibling node.
XmlValue::getNextSiblingGet the node's next sibling node.
XmlValue::getAttributesGet the node's attributes.
XmlValue::getOwnerElementGet the node's owner element.

Copyright (c) 1996,2007 Oracle. All rights reserved.