Qt 4.8
|
Represents a XSD annotation object. More...
#include <qxsdannotation_p.h>
Public Types | |
typedef QList< XsdAnnotation::Ptr > | List |
typedef QExplicitlySharedDataPointer< XsdAnnotation > | Ptr |
Public Types inherited from QPatternist::NamedSchemaComponent | |
enum | BlockingConstraint { RestrictionConstraint = 1, ExtensionConstraint = 2, SubstitutionConstraint = 4 } |
typedef QExplicitlySharedDataPointer< NamedSchemaComponent > | Ptr |
Public Functions | |
void | addApplicationInformation (const XsdApplicationInformation::Ptr &information) |
void | addDocumentation (const XsdDocumentation::Ptr &documentation) |
XsdApplicationInformation::List | applicationInformation () const |
XsdDocumentation::List | documentation () const |
DerivedString< TypeID >::Ptr | id () const |
void | setId (const DerivedString< TypeID >::Ptr &id) |
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 | |
XsdApplicationInformation::List | m_applicationInformation |
XsdDocumentation::List | m_documentations |
DerivedString< TypeID >::Ptr | m_id |
Additional Inherited Members | |
Public Variables inherited from QSharedData | |
QAtomicInt | ref |
Represents a XSD annotation object.
This class represents the annotation object of a XML schema as described here.
Definition at line 74 of file qxsdannotation_p.h.
Definition at line 78 of file qxsdannotation_p.h.
Definition at line 77 of file qxsdannotation_p.h.
void XsdAnnotation::addApplicationInformation | ( | const XsdApplicationInformation::Ptr & | information | ) |
Adds an application information
to the annotation.
The application information is meant to be interpreted by a software system, e.g. other parts of the XML processor pipeline.
Definition at line 58 of file qxsdannotation.cpp.
void XsdAnnotation::addDocumentation | ( | const XsdDocumentation::Ptr & | documentation | ) |
Adds a documentation
to the annotation.
The documentation is meant to be read by human being, e.g. additional constraints or information about schema components.
Definition at line 68 of file qxsdannotation.cpp.
XsdApplicationInformation::List XsdAnnotation::applicationInformation | ( | ) | const |
Returns the list of all application information of the annotation.
Definition at line 63 of file qxsdannotation.cpp.
XsdDocumentation::List XsdAnnotation::documentation | ( | ) | const |
Returns the list of all documentations of the annotation.
Definition at line 73 of file qxsdannotation.cpp.
DerivedString< TypeID >::Ptr XsdAnnotation::id | ( | ) | const |
Returns the id
of the annotation.
Definition at line 53 of file qxsdannotation.cpp.
Referenced by setId().
void XsdAnnotation::setId | ( | const DerivedString< TypeID >::Ptr & | id | ) |
Sets the id
of the annotation.
Definition at line 48 of file qxsdannotation.cpp.
|
private |
Definition at line 118 of file qxsdannotation_p.h.
Referenced by addApplicationInformation(), and applicationInformation().
|
private |
Definition at line 119 of file qxsdannotation_p.h.
Referenced by addDocumentation(), and documentation().
|
private |
Definition at line 117 of file qxsdannotation_p.h.