Qt 4.8
|
A helper class that merges two schemas into one. More...
#include <qxsdschemamerger_p.h>
Public Types | |
typedef QExplicitlySharedDataPointer< XsdSchemaMerger > | Ptr |
Public Functions | |
XsdSchema::Ptr | mergedSchema () const |
XsdSchemaMerger (const XsdSchema::Ptr &schema, const XsdSchema::Ptr &otherSchema) | |
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... | |
Private Functions | |
void | merge (const XsdSchema::Ptr &schema, const XsdSchema::Ptr &otherSchema) |
Properties | |
XsdSchema::Ptr | m_mergedSchema |
Additional Inherited Members | |
Public Variables inherited from QSharedData | |
QAtomicInt | ref |
A helper class that merges two schemas into one.
This class is used in XsdValidatingInstanceReader to merge the schema given in the constructor with a schema defined in the instance document via xsi:schemaLocation or xsi:noNamespaceSchema location.
Definition at line 73 of file qxsdschemamerger_p.h.
Definition at line 76 of file qxsdschemamerger_p.h.
XsdSchemaMerger::XsdSchemaMerger | ( | const XsdSchema::Ptr & | schema, |
const XsdSchema::Ptr & | otherSchema | ||
) |
Creates a new schema merger object that merges schema
with otherSchema
.
Definition at line 48 of file qxsdschemamerger.cpp.
|
private |
Definition at line 58 of file qxsdschemamerger.cpp.
Referenced by XsdSchemaMerger().
XsdSchema::Ptr XsdSchemaMerger::mergedSchema | ( | ) | const |
Returns the merged schema.
Definition at line 53 of file qxsdschemamerger.cpp.
Referenced by QPatternist::XsdValidatingInstanceReader::addSchema().
|
private |
Definition at line 91 of file qxsdschemamerger_p.h.
Referenced by merge(), and mergedSchema().