![]() |
Qt 4.8
|
Factory for creating schema types for the types defined in XSL-T 2.0. More...
#include <qbasictypesfactory_p.h>
Public Functions | |
| virtual SchemaType::Ptr | createSchemaType (const QXmlName) const |
| virtual SchemaType::Hash | types () const |
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... | |
Static Public Functions | |
| static SchemaTypeFactory::Ptr | self (const NamePool::Ptr &np) |
Protected Functions | |
| BasicTypesFactory (const NamePool::Ptr &np) | |
Properties | |
| 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 XSL-T 2.0.
Theses types are essentially the builtin primitive types, plus xs:integer, and the types defined in the XPath Data Model.
Definition at line 80 of file qbasictypesfactory_p.h.
|
protected |
This constructor is protected. Use the static self() function to retrieve a singleton instance.
Definition at line 58 of file qbasictypesfactory.cpp.
Referenced by self().
|
virtual |
Creates a primitive type for name. If name is not supported, null is returned. The intened supported types are the builtin primitive and derived types. That is, the 19 W3C XML Schema types, and the additional 5 in the XPath Data MOdel.
Implements QPatternist::SchemaTypeFactory.
Definition at line 118 of file qbasictypesfactory.cpp.
|
static |
Definition at line 52 of file qbasictypesfactory.cpp.
Referenced by QPatternist::XsdSchemaTypesFactory::createSchemaType(), QPatternist::GenericStaticContext::schemaDefinitions(), and QPatternist::FunctionFactoryCollection::xpath20Factory().
|
virtual |
Implements QPatternist::SchemaTypeFactory.
Definition at line 123 of file qbasictypesfactory.cpp.
|
private |
A dictonary of builtin primitive and derived primitives.
Definition at line 113 of file qbasictypesfactory_p.h.
Referenced by BasicTypesFactory(), createSchemaType(), and types().