Qt 4.8
|
Factory for creating schema types for the types defined in XSD. More...
#include <qxsdschematypesfactory_p.h>
Public Functions | |
virtual SchemaType::Ptr | createSchemaType (const QXmlName) const |
virtual SchemaType::Hash | types () const |
XsdSchemaTypesFactory (const NamePool::Ptr &namePool) | |
Public Functions inherited from QPatternist::SchemaTypeFactory | |
SchemaTypeFactory () | |
virtual | ~SchemaTypeFactory () |
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 | |
SchemaTypeFactory::Ptr | m_basicTypesFactory |
NamePool::Ptr | m_namePool |
SchemaType::Hash | m_types |
Additional Inherited Members | |
Public Types inherited from QPatternist::SchemaTypeFactory | |
typedef QExplicitlySharedDataPointer< SchemaTypeFactory > | Ptr |
Public Variables inherited from QSharedData | |
QAtomicInt | ref |
Factory for creating schema types for the types defined in XSD.
Definition at line 71 of file qxsdschematypesfactory_p.h.
XsdSchemaTypesFactory::XsdSchemaTypesFactory | ( | const NamePool::Ptr & | namePool | ) |
Creates a new schema type factory.
namePool | The name pool all type names belong to. |
Definition at line 56 of file qxsdschematypesfactory.cpp.
|
virtual |
Creates a primitive type for name
. If name
is not supported, null
is returned.
Implements QPatternist::SchemaTypeFactory.
Definition at line 109 of file qxsdschematypesfactory.cpp.
|
virtual |
Returns a hash of all available types.
Implements QPatternist::SchemaTypeFactory.
Definition at line 121 of file qxsdschematypesfactory.cpp.
|
mutableprivate |
Definition at line 101 of file qxsdschematypesfactory_p.h.
Referenced by createSchemaType().
|
private |
Definition at line 100 of file qxsdschematypesfactory_p.h.
Referenced by createSchemaType(), and XsdSchemaTypesFactory().
|
private |
A dictonary of all predefined schema types.
Definition at line 98 of file qxsdschematypesfactory_p.h.
Referenced by createSchemaType(), types(), and XsdSchemaTypesFactory().