Qt 4.8
|
Represents a XSD appinfo object. More...
#include <qxsdapplicationinformation_p.h>
Public Types | |
typedef QList< XsdApplicationInformation::Ptr > | List |
typedef QExplicitlySharedDataPointer< XsdApplicationInformation > | Ptr |
Public Types inherited from QPatternist::NamedSchemaComponent | |
enum | BlockingConstraint { RestrictionConstraint = 1, ExtensionConstraint = 2, SubstitutionConstraint = 4 } |
typedef QExplicitlySharedDataPointer< NamedSchemaComponent > | Ptr |
Public Functions | |
QString | content () const |
void | setContent (const QString &content) |
void | setSource (const AnyURI::Ptr &source) |
AnyURI::Ptr | source () const |
Public Functions inherited from QPatternist::NamedSchemaComponent | |
virtual QString | displayName (const NamePool::Ptr &namePool) const |
virtual QXmlName | name (const NamePool::Ptr &namePool) const |
NamedSchemaComponent () | |
void | setName (const QXmlName &name) |
virtual | ~NamedSchemaComponent () |
Public Functions inherited from QPatternist::SchemaComponent | |
SchemaComponent () | |
virtual | ~SchemaComponent () |
Public Functions inherited from QSharedData | |
QSharedData () | |
Constructs a QSharedData object with a reference count of 0. More... | |
QSharedData (const QSharedData &) | |
Constructs a QSharedData object with reference count 0. More... | |
Properties | |
QString | m_content |
AnyURI::Ptr | m_source |
Additional Inherited Members | |
Public Variables inherited from QSharedData | |
QAtomicInt | ref |
Represents a XSD appinfo object.
This class represents the appinfo component of an annotation object of a XML schema as described here.
Definition at line 74 of file qxsdapplicationinformation_p.h.
Definition at line 78 of file qxsdapplicationinformation_p.h.
typedef QExplicitlySharedDataPointer<XsdApplicationInformation> QPatternist::XsdApplicationInformation::Ptr |
Definition at line 77 of file qxsdapplicationinformation_p.h.
QString XsdApplicationInformation::content | ( | ) | const |
Returns the content of the application information.
Definition at line 63 of file qxsdapplicationinformation.cpp.
Referenced by setContent().
void XsdApplicationInformation::setContent | ( | const QString & | content | ) |
Sets the content
of the application information.
The content can be of abritrary type.
Definition at line 58 of file qxsdapplicationinformation.cpp.
void XsdApplicationInformation::setSource | ( | const AnyURI::Ptr & | source | ) |
Sets the source
of the application information.
The source points to an URL that contains more information.
Definition at line 48 of file qxsdapplicationinformation.cpp.
AnyURI::Ptr XsdApplicationInformation::source | ( | ) | const |
Returns the source of the application information.
Definition at line 53 of file qxsdapplicationinformation.cpp.
Referenced by setSource().
|
private |
Definition at line 107 of file qxsdapplicationinformation_p.h.
Referenced by content(), and setContent().
|
private |
Definition at line 106 of file qxsdapplicationinformation_p.h.
Referenced by setSource(), and source().