/text()
or //text()
.
More...
#include <pathsteptextexpression.h>
Public Member Functions | |
PathStepTextExpression (AXIS_TYPE _axis) | |
Constructor. | |
PathStepTextExpression (AXIS_TYPE _axis, PathStepAttribute *_attribute) | |
Constructor. | |
PathStepTextExpression () | |
Constructor. | |
virtual | ~PathStepTextExpression () |
virtual void | print (OutputStream &dos) const |
bool | isMatchingTag (TAG tag) |
PathStepTextExpression * | clone () |
PathStepTextExpression * | cloneWithoutAttributes () |
/text()
or //text()
.
Represents a single XPath path step of the form /text()
or //text()
, which takes an AXIS_TYPE (default: child-axis), e.g. /text()
or //text()
, and a PathStepAttribute (if required), e.g. /text()[position
()=1]
or //text()[position
()=1]
, as argument(s).
Definition at line 60 of file pathsteptextexpression.h.
PathStepTextExpression::PathStepTextExpression | ( | AXIS_TYPE | _axis | ) |
Constructor.
Constructor - creating object for an AXIS_TYPE.
[in] | _axis | AXIS_TYPE. |
Definition at line 38 of file pathsteptextexpression.cpp.
PathStepTextExpression::PathStepTextExpression | ( | 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 pathsteptextexpression.cpp.
PathStepTextExpression::PathStepTextExpression | ( | ) |
Constructor.
Constructor - creating object for (default) AXIS_TYPE child
.
Definition at line 48 of file pathsteptextexpression.cpp.
Referenced by clone(), and cloneWithoutAttributes().
PathStepTextExpression::~PathStepTextExpression | ( | ) | [virtual] |
Destructor.
Definition at line 52 of file pathsteptextexpression.cpp.
PathStepTextExpression * PathStepTextExpression::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 pathsteptextexpression.cpp.
References PathStepExpression::attribute, PathStepExpression::axis, PathStepAttribute::clone(), and PathStepTextExpression().
PathStepTextExpression * PathStepTextExpression::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 pathsteptextexpression.cpp.
References PathStepExpression::axis, and PathStepTextExpression().
bool PathStepTextExpression::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 pathsteptextexpression.h.
void PathStepTextExpression::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 pathsteptextexpression.cpp.
References PathStepExpression::attribute, and PathStepExpression::axis.