52 #ifndef Patternist_XsdAttribute_H 53 #define Patternist_XsdAttribute_H 59 #include <QtCore/QList> 174 void setValue(
const QString &value);
186 void setLexicalForm(
const QString &form);
NamedSchemaComponent * m_parent
Represents a XSD attribute object.
#define QT_END_NAMESPACE
This macro expands to.
The attribute has a default value set.
void setParent(const NamedSchemaComponent::Ptr &parent)
ValueConstraint::Ptr valueConstraint() const
QList< XsdAttribute::Ptr > List
AnySimpleType::Ptr m_type
The QString class provides a Unicode character string.
QExplicitlySharedDataPointer< ValueConstraint > Ptr
void setType(const AnySimpleType::Ptr &type)
Base class for all XSD components with annotation content.
#define QT_BEGIN_NAMESPACE
This macro expands to.
AnySimpleType::Ptr type() const
The namespace for the internal API of QtXmlPatterns.
Describes the value constraint of an attribute.
QExplicitlySharedDataPointer< Scope > Ptr
The QSharedData class is a base class for shared data objects.
Describes the scope of an attribute.
void setScope(const Scope::Ptr &scope)
void setValueConstraint(const ValueConstraint::Ptr &constraint)
The attribute is defined locally as child of a complex type or attribute group definition.
NamedSchemaComponent::Ptr parent() const
ValueConstraint::Ptr m_valueConstraint
The attribute is defined globally as child of the schema object.
void setVariety(Variety variety)
Base class for all named components that can appear in a W3C XML Schema.
QExplicitlySharedDataPointer< XsdAttribute > Ptr
The QList class is a template class that provides lists.