Qt 4.8
|
Represents node()
in patterns in XSL-T, which are just like how node()
usually is, except that it doesn't match document nodes.
More...
#include <qxsltnodetest_p.h>
Public Functions | |
virtual bool | itemMatches (const Item &item) const |
virtual ItemType::Ptr | xdtSuperType () const |
virtual bool | xdtTypeMatches (const ItemType::Ptr &other) const |
Returns true if other matches this type. That is, if other is equal to this type or a subtype of this type. More... | |
Public Functions inherited from QPatternist::AnyNodeType | |
virtual ItemType::Ptr | atomizedType () const |
virtual QString | displayName (const NamePool::Ptr &np) const |
virtual bool | isAtomicType () const |
virtual bool | isNodeType () const |
virtual QXmlNodeModelIndex::NodeKind | nodeKind () const |
virtual PatternPriority | patternPriority () const |
Public Functions inherited from QPatternist::ItemType | |
virtual InstanceOf | instanceOf () const |
ItemType () | |
virtual Category | itemTypeCategory () const |
bool | operator!= (const ItemType &other) const |
virtual bool | operator== (const ItemType &other) const |
virtual const ItemType & | operator| (const ItemType &other) const |
virtual | ~ItemType () |
Public Functions inherited from QSharedData | |
QSharedData () | |
Constructs a QSharedData object with a reference count of 0. More... | |
QSharedData (const QSharedData &) | |
Constructs a QSharedData object with reference count 0. More... | |
Protected Functions | |
XSLTNodeTest () | |
Protected Functions inherited from QPatternist::AnyNodeType | |
AnyNodeType () | |
Friends | |
class | BuiltinTypes |
Additional Inherited Members | |
Public Types inherited from QPatternist::AnyNodeType | |
typedef QExplicitlySharedDataPointer< AnyNodeType > | Ptr |
Public Types inherited from QPatternist::ItemType | |
enum | Category { NodeNameTest = 1, Other = 2 } |
enum | InstanceOf { ClassLocalNameTest, ClassNamespaceNameTest, ClassQNameTest, ClassOther } |
typedef QList< ItemType::Ptr > | List |
typedef QExplicitlySharedDataPointer< ItemType > | Ptr |
Public Variables inherited from QSharedData | |
QAtomicInt | ref |
Related Functions inherited from QPatternist::ItemType | |
ItemType::Ptr | operator| (const ItemType::Ptr &op1, const ItemType::Ptr &op2) |
void | operator|= (ItemType::Ptr &op1, const ItemType::Ptr &op2) |
Computes the union type of op1 and op2 , and assigns it to op1 . More... | |
Represents node()
in patterns in XSL-T, which are just like how node()
usually is, except that it doesn't match document nodes.
Definition at line 75 of file qxsltnodetest_p.h.
|
inlineprotected |
This constructor does nothing, but exists in order to make it impossible to instantiate this class from anywhere but from BuiltinTypes.
Definition at line 90 of file qxsltnodetest_p.h.
|
virtual |
item | the item that is to be matched. This is guaranteed by the caller to never be null . |
Reimplemented from QPatternist::AnyNodeType.
Definition at line 59 of file qxsltnodetest.cpp.
|
virtual |
Determines the type's parent type in the XPath Data Model hierarchy. For example, for the type xs:anyAtomicType, the super type in the XPath Data Model is item(), not xs:anySimpleType. SchemaType::xdtSuperType navigates the schema hierarchy.
Reimplemented from QPatternist::AnyNodeType.
Definition at line 67 of file qxsltnodetest.cpp.
|
virtual |
Returns true
if other
matches this type. That is, if other
is equal to this type or a subtype of this type.
For instance this statements evaluates to true:
but this evaluates to false:
other | the other ItemType that is to be matched. This is guaranteed by the caller to never be null . |
Reimplemented from QPatternist::AnyNodeType.
Definition at line 49 of file qxsltnodetest.cpp.
|
friend |
Definition at line 84 of file qxsltnodetest_p.h.