![]() |
Qt 4.8
|
Represents a XSD documentation object. More...
#include <qxsddocumentation_p.h>
Public Types | |
| typedef QList< XsdDocumentation::Ptr > | List |
| typedef QExplicitlySharedDataPointer< XsdDocumentation > | Ptr |
Public Types inherited from QPatternist::NamedSchemaComponent | |
| enum | BlockingConstraint { RestrictionConstraint = 1, ExtensionConstraint = 2, SubstitutionConstraint = 4 } |
| typedef QExplicitlySharedDataPointer< NamedSchemaComponent > | Ptr |
Public Functions | |
| QString | content () const |
| DerivedString< TypeLanguage >::Ptr | language () const |
| void | setContent (const QString &content) |
| void | setLanguage (const DerivedString< TypeLanguage >::Ptr &language) |
| void | setSource (const AnyURI::Ptr &source) |
| AnyURI::Ptr | source () const |
| XsdDocumentation () | |
| ~XsdDocumentation () | |
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 |
| DerivedString< TypeLanguage >::Ptr | m_language |
| AnyURI::Ptr | m_source |
Additional Inherited Members | |
Public Variables inherited from QSharedData | |
| QAtomicInt | ref |
Represents a XSD documentation object.
This class represents the documentation component of an annotation object of a XML schema as described here.
Definition at line 75 of file qxsddocumentation_p.h.
Definition at line 79 of file qxsddocumentation_p.h.
Definition at line 78 of file qxsddocumentation_p.h.
| XsdDocumentation::XsdDocumentation | ( | ) |
| XsdDocumentation::~XsdDocumentation | ( | ) |
| QString XsdDocumentation::content | ( | ) | const |
Returns the content of the documentation.
Definition at line 81 of file qxsddocumentation.cpp.
Referenced by setContent().
| DerivedString< TypeLanguage >::Ptr XsdDocumentation::language | ( | ) | const |
Returns the language of the documentation.
Definition at line 71 of file qxsddocumentation.cpp.
Referenced by setLanguage().
| void XsdDocumentation::setContent | ( | const QString & | content | ) |
Sets the content of the documentation.
The content can be of abritrary type.
Definition at line 76 of file qxsddocumentation.cpp.
| void XsdDocumentation::setLanguage | ( | const DerivedString< TypeLanguage >::Ptr & | language | ) |
Sets the language of the documentation.
Definition at line 66 of file qxsddocumentation.cpp.
| void XsdDocumentation::setSource | ( | const AnyURI::Ptr & | source | ) |
Sets the source of the documentation.
The source points to an URL that contains more information.
Definition at line 56 of file qxsddocumentation.cpp.
| AnyURI::Ptr XsdDocumentation::source | ( | ) | const |
Returns the source of the documentation.
Definition at line 61 of file qxsddocumentation.cpp.
Referenced by setSource().
|
private |
Definition at line 129 of file qxsddocumentation_p.h.
Referenced by content(), and setContent().
|
private |
Definition at line 128 of file qxsddocumentation_p.h.
Referenced by language(), and setLanguage().
|
private |
Definition at line 127 of file qxsddocumentation_p.h.
Referenced by setSource(), and source().