/node() or //node().
More...
#include <pathstepnodeexpression.h>


Public Member Functions | |
| PathStepNodeExpression (AXIS_TYPE _axis) | |
| Constructor. | |
| PathStepNodeExpression (AXIS_TYPE _axis, PathStepAttribute *_attribute) | |
| Constructor. | |
| PathStepNodeExpression () | |
| Constructor. | |
| virtual | ~PathStepNodeExpression () |
| virtual void | print (OutputStream &dos) const |
| bool | isMatchingTag (TAG tag) |
| PathStepNodeExpression * | clone () |
| PathStepNodeExpression * | cloneWithoutAttributes () |
/node() or //node().
Represents a single XPath path step of the form /node() or //node(), which takes an AXIS_TYPE (default: child-axis), e.g. /node() or //node(), and a PathStepAttribute (if required), e.g. /node()[position()=1] or //node()[position()=1], as argument(s).
Definition at line 60 of file pathstepnodeexpression.h.
| PathStepNodeExpression::PathStepNodeExpression | ( | AXIS_TYPE | _axis | ) |
Constructor.
Constructor - creating object for an AXIS_TYPE.
| [in] | _axis | AXIS_TYPE. |
Definition at line 38 of file pathstepnodeexpression.cpp.
| PathStepNodeExpression::PathStepNodeExpression | ( | AXIS_TYPE | _axis, | |
| PathStepAttribute * | _attribute | |||
| ) |
Constructor.
Constructor - creating object for an AXIS_TYPE and a PathStepAttribute.
| [in] | _axis | AXIS_TYPE. |
| [in] | _attribute | Pointer to a PathStepAttribute object. |
Definition at line 42 of file pathstepnodeexpression.cpp.
| PathStepNodeExpression::PathStepNodeExpression | ( | ) |
Constructor.
Constructor - creating object for (default) AXIS_TYPE child.
Definition at line 48 of file pathstepnodeexpression.cpp.
Referenced by clone(), and cloneWithoutAttributes().
| PathStepNodeExpression::~PathStepNodeExpression | ( | ) | [virtual] |
Destructor.
Definition at line 52 of file pathstepnodeexpression.cpp.
| PathStepNodeExpression * PathStepNodeExpression::clone | ( | ) | [virtual] |
Returns a new, independent copy of a path step expression or of this object respectively.
Returns a new, independent copy of a path step expression or of this object respectively.
| PathStepExpression* | Copy of a path step expression or of this object respectively. |
Implements PathStepExpression.
Definition at line 73 of file pathstepnodeexpression.cpp.
References PathStepExpression::attribute, PathStepExpression::axis, PathStepAttribute::clone(), and PathStepNodeExpression().
| PathStepNodeExpression * PathStepNodeExpression::cloneWithoutAttributes | ( | ) | [virtual] |
Returns a new, independent copy of a path step expression or of this object respectively without any PathStepAttribute.
Returns a new, independent copy of a path step expression or of this object respectively without any PathStepAttribute.
| PathStepExpression* | Copy of a path step expression or of this object respectively without any PathStepAttribute. |
Implements PathStepExpression.
Definition at line 81 of file pathstepnodeexpression.cpp.
References PathStepExpression::axis, and PathStepNodeExpression().
| bool PathStepNodeExpression::isMatchingTag | ( | TAG | tag | ) | [inline, virtual] |
Returns if the correspnding path step expression is matching the entered TAG.
Returns if the correspnding path step expression is matching the entered TAG.
| [in] | tag | TAG. |
| bool | true if the correspnding path step expression is matching the entered TAG, false otherwise. |
Implements PathStepExpression.
Definition at line 94 of file pathstepnodeexpression.h.
| void PathStepNodeExpression::print | ( | OutputStream & | dos | ) | const [virtual] |
Prints the corresponding path step expression.
Prints the corresponding path step expression.
| [in] | dos | Pointer to a OutputStream object. |
| void |
Implements PathStepExpression.
Definition at line 55 of file pathstepnodeexpression.cpp.
References PathStepExpression::attribute, and PathStepExpression::axis.
1.5.9