summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/schema/qxsdassertion.cpp
blob: f6cbf818c1eec889dd04975864be9c0c9192ae5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/****************************************************************************
**
** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
** This file is part of the $MODULE$ of the Qt Toolkit.
**
** $TROLLTECH_DUAL_LICENSE$
**
****************************************************************************/

#include "qxsdassertion_p.h"

QT_BEGIN_NAMESPACE

using namespace QPatternist;

void XsdAssertion::setTest(const XsdXPathExpression::Ptr &test)
{
    m_test = test;
}

XsdXPathExpression::Ptr XsdAssertion::test() const
{
    return m_test;
}

QT_END_NAMESPACE