summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/schema/qxsdannotated.cpp
blob: a29b5c45ad511d35a6ad41edf2e58a7189efa4ba (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
/****************************************************************************
**
** 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 "qxsdannotated_p.h"

QT_BEGIN_NAMESPACE

using namespace QPatternist;

void XsdAnnotated::addAnnotation(const XsdAnnotation::Ptr &annotation)
{
    m_annotations.append(annotation);
}

void XsdAnnotated::addAnnotations(const XsdAnnotation::List &annotations)
{
    m_annotations << annotations;
}

XsdAnnotation::List XsdAnnotated::annotations() const
{
    return m_annotations;
}

QT_END_NAMESPACE