20#ifndef _XQILLANODE_HPP
21#define _XQILLANODE_HPP
25#include <xqilla/ast/XQStep.hpp>
RefCountPointer< const ATBooleanOrDerived > Ptr
Definition ATBooleanOrDerived.hpp:53
RefCountPointer< const ATQNameOrDerived > Ptr
Definition ATQNameOrDerived.hpp:32
The execution time dynamic context interface.
Definition DynamicContext.hpp:39
Item()
Definition Item.hpp:67
A class that gives records a location in the query.
Definition LocationInfo.hpp:30
virtual ATBooleanOrDerived::Ptr dmIsIdRefs(const DynamicContext *context) const =0
Returns if the node is an idref node or not.
virtual void typeToBuffer(DynamicContext *context, xercesc::XMLBuffer &buffer) const
Debug method to output the type of the item in SequenceType notation.
virtual ATBooleanOrDerived::Ptr dmNilled(const DynamicContext *context) const =0
Accessor: returns the setting of the nilled property of an element node.
static const XMLCh comment_string[]
Definition Node.hpp:132
static const XMLCh namespace_string[]
Definition Node.hpp:133
virtual ATQNameOrDerived::Ptr dmNodeName(const DynamicContext *context) const =0
Accessor: returns the name of this node.
virtual const XMLCh * asString(const DynamicContext *context) const =0
Serialize this node.
virtual const XMLCh * dmNodeKind() const =0
Accessor: returns the kind of node as a string.
static const XMLCh text_string[]
Definition Node.hpp:130
virtual bool isFunction() const
virtual Result getAxisResult(XQStep::Axis axis, const NodeTest *nodeTest, const DynamicContext *context, const LocationInfo *info) const =0
Returns a Result containing the nodes in the axis given, relative to this node.
virtual Result dmAttributes(const DynamicContext *context, const LocationInfo *info) const =0
Returns the attributes of this node.
virtual const XMLCh * getTypeName() const =0
virtual Sequence dmDocumentURI(const DynamicContext *context) const =0
Accessor: returns the absolute URI of the resource from which the document node was constructed,...
virtual Result dmNamespaceNodes(const DynamicContext *context, const LocationInfo *info) const =0
Returns the namespace nodes of this node.
virtual Sequence dmBaseURI(const DynamicContext *context) const =0
Accessor: returns the base-uri of this node as a xs:anyURI, if one exists.
static const XMLCh attribute_string[]
Definition Node.hpp:129
virtual Node::Ptr root(const DynamicContext *context) const =0
Returns the root of this node.
virtual bool isNode() const
Returns true, since this Item is a Node.
virtual ATBooleanOrDerived::Ptr dmIsId(const DynamicContext *context) const =0
Returns if the node is an id node or not.
virtual bool lessThan(const Node::Ptr &other, const DynamicContext *context) const =0
Returns true if 'this' is before 'other' in document order, false otherwise.
RefCountPointer< const Node > Ptr
Definition Node.hpp:36
virtual ATQNameOrDerived::Ptr dmTypeName(const DynamicContext *context) const =0
Accessor: returns the name of the type of a node.
virtual bool equals(const Node::Ptr &other) const =0
Returns true if 'other' is equal (identity equal) to 'this'.
virtual Result dmChildren(const DynamicContext *context, const LocationInfo *info) const =0
Returns the children of this node.
virtual Node::Ptr dmParent(const DynamicContext *context) const =0
Returns the parent of this node.
virtual bool uniqueLessThan(const Node::Ptr &other, const DynamicContext *context) const =0
Specifies a sorting order for uniqueness removal.
virtual const XMLCh * dmStringValue(const DynamicContext *context) const =0
Accessor: returns the string value of this node.
static const XMLCh element_string[]
Definition Node.hpp:128
virtual Sequence dmTypedValue(DynamicContext *context) const =0
Accessor: returns the typed value of this node, which is a sequence of zero or more atomic values der...
static const XMLCh document_string[]
Definition Node.hpp:127
virtual const XMLCh * getTypeURI() const =0
virtual bool hasInstanceOfType(const XMLCh *typeURI, const XMLCh *typeName, const DynamicContext *context) const =0
check if the underlying type of this node is instance of a certain type
static const XMLCh processing_instruction_string[]
Definition Node.hpp:131
virtual bool isAtomicValue() const
Returns false, since this Item is a Node.
Super class of all the reference counted wrappers for Items.
Definition ReferenceCounted.hpp:62
A scoped pointer wrapper for the lazily evaluated query result.
Definition Result.hpp:38
An eagerly evaluated result of a query execution.
Definition Sequence.hpp:40
Definition XPath2MemoryManager.hpp:46