/**************************************************************************** ** ** 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$ ** ****************************************************************************/ // // W A R N I N G // ------------- // // This file is not part of the Qt API. It exists purely as an // implementation detail. This header file may change from version to // version without notice, or even be removed. // // We mean it. #ifndef Patternist_XsdNotation_H #define Patternist_XsdNotation_H #include "qanyuri_p.h" #include "qderivedstring_p.h" #include "qnamedschemacomponent_p.h" #include "qxsdannotated_p.h" #include QT_BEGIN_HEADER QT_BEGIN_NAMESPACE namespace QPatternist { /** * @short Represents a XSD notation object, which should not * be confused with the atomic type @c xs:NOTATION. * * This class represents the notation object of a XML schema as described * here. * * @see XML Schema API reference * @ingroup Patternist_schema * @author Tobias Koenig */ class XsdNotation : public NamedSchemaComponent, public XsdAnnotated { public: typedef QExplicitlySharedDataPointer Ptr; typedef QList List; /** * Sets the public @p identifier of the notation. * * @see Public Identifier Definition */ void setPublicId(const DerivedString::Ptr &identifier); /** * Returns the public identifier of the notation. */ DerivedString::Ptr publicId() const; /** * Sets the system @p identifier of the notation. * * @see System Identifier Definition */ void setSystemId(const AnyURI::Ptr &identifier); /** * Returns the system identifier of the notation. */ AnyURI::Ptr systemId() const; private: DerivedString::Ptr m_publicId; AnyURI::Ptr m_systemId; }; } QT_END_NAMESPACE QT_END_HEADER #endif