summaryrefslogtreecommitdiff
path: root/src/xmlpatterns/schema/qxsdalternative.cpp
blob: f3f589a08b7363276eb96ba2cd09f5fac091c324 (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
29
30
31
32
33
34
35
36
37
38
/****************************************************************************
**
** 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 "qxsdalternative_p.h"

QT_BEGIN_NAMESPACE

using namespace QPatternist;

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

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

void XsdAlternative::setType(const SchemaType::Ptr &type)
{
    m_type = type;
}

SchemaType::Ptr XsdAlternative::type() const
{
    return m_type;
}

QT_END_NAMESPACE