53 : m_namePool(namePool)
54 , m_networkAccessManager(0)
137 fixedCollapseWhiteSpace->setFixed(
true);
142 collapseWhiteSpace->setFixed(
false);
147 preserveWhiteSpace->setFixed(
false);
152 replaceWhiteSpace->setFixed(
false);
157 fixedZeroFractionDigits->setFixed(
true);
161 facets.
insert(preserveWhiteSpace->type(), preserveWhiteSpace);
166 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
171 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
176 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
181 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
186 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
191 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
196 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
201 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
206 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
211 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
216 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
221 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
226 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
231 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
236 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
241 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
246 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
251 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
256 facets.
insert(replaceWhiteSpace->type(), replaceWhiteSpace);
261 facets.
insert(collapseWhiteSpace->type(), collapseWhiteSpace);
266 facets.
insert(collapseWhiteSpace->type(), collapseWhiteSpace);
271 facets.
insert(pattern->type(), pattern);
276 facets.
insert(collapseWhiteSpace->type(), collapseWhiteSpace);
281 facets.
insert(pattern->type(), pattern);
286 facets.
insert(collapseWhiteSpace->type(), collapseWhiteSpace);
291 facets.
insert(pattern->type(), pattern);
300 ncNamePattern->setMultiValue(patterns);
305 facets.
insert(collapseWhiteSpace->type(), collapseWhiteSpace);
306 facets.
insert(ncNamePattern->type(), ncNamePattern);
311 facets.
insert(collapseWhiteSpace->type(), collapseWhiteSpace);
312 facets.
insert(ncNamePattern->type(), ncNamePattern);
317 facets.
insert(collapseWhiteSpace->type(), collapseWhiteSpace);
318 facets.
insert(ncNamePattern->type(), ncNamePattern);
323 facets.
insert(collapseWhiteSpace->type(), collapseWhiteSpace);
324 facets.
insert(ncNamePattern->type(), ncNamePattern);
333 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
334 facets.
insert(fixedZeroFractionDigits->type(), fixedZeroFractionDigits);
335 facets.
insert(integerPattern->type(), integerPattern);
340 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
341 facets.
insert(fixedZeroFractionDigits->type(), fixedZeroFractionDigits);
342 facets.
insert(integerPattern->type(), integerPattern);
347 facets.
insert(maxInclusive->type(), maxInclusive);
352 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
353 facets.
insert(fixedZeroFractionDigits->type(), fixedZeroFractionDigits);
354 facets.
insert(integerPattern->type(), integerPattern);
359 facets.
insert(maxInclusive->type(), maxInclusive);
364 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
365 facets.
insert(fixedZeroFractionDigits->type(), fixedZeroFractionDigits);
366 facets.
insert(integerPattern->type(), integerPattern);
371 facets.
insert(maxInclusive->type(), maxInclusive);
376 facets.
insert(minInclusive->type(), minInclusive);
381 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
382 facets.
insert(fixedZeroFractionDigits->type(), fixedZeroFractionDigits);
383 facets.
insert(integerPattern->type(), integerPattern);
388 facets.
insert(maxInclusive->type(), maxInclusive);
393 facets.
insert(minInclusive->type(), minInclusive);
398 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
399 facets.
insert(fixedZeroFractionDigits->type(), fixedZeroFractionDigits);
400 facets.
insert(integerPattern->type(), integerPattern);
405 facets.
insert(maxInclusive->type(), maxInclusive);
410 facets.
insert(minInclusive->type(), minInclusive);
415 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
416 facets.
insert(fixedZeroFractionDigits->type(), fixedZeroFractionDigits);
417 facets.
insert(integerPattern->type(), integerPattern);
422 facets.
insert(maxInclusive->type(), maxInclusive);
427 facets.
insert(minInclusive->type(), minInclusive);
436 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
437 facets.
insert(fixedZeroFractionDigits->type(), fixedZeroFractionDigits);
438 facets.
insert(integerPattern->type(), integerPattern);
439 facets.
insert(unsignedMinInclusive->type(), unsignedMinInclusive);
444 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
445 facets.
insert(fixedZeroFractionDigits->type(), fixedZeroFractionDigits);
446 facets.
insert(integerPattern->type(), integerPattern);
447 facets.
insert(unsignedMinInclusive->type(), unsignedMinInclusive);
452 facets.
insert(maxInclusive->type(), maxInclusive);
457 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
458 facets.
insert(fixedZeroFractionDigits->type(), fixedZeroFractionDigits);
459 facets.
insert(integerPattern->type(), integerPattern);
460 facets.
insert(unsignedMinInclusive->type(), unsignedMinInclusive);
465 facets.
insert(maxInclusive->type(), maxInclusive);
470 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
471 facets.
insert(fixedZeroFractionDigits->type(), fixedZeroFractionDigits);
472 facets.
insert(integerPattern->type(), integerPattern);
473 facets.
insert(unsignedMinInclusive->type(), unsignedMinInclusive);
478 facets.
insert(maxInclusive->type(), maxInclusive);
483 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
484 facets.
insert(fixedZeroFractionDigits->type(), fixedZeroFractionDigits);
485 facets.
insert(integerPattern->type(), integerPattern);
486 facets.
insert(unsignedMinInclusive->type(), unsignedMinInclusive);
491 facets.
insert(maxInclusive->type(), maxInclusive);
496 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
497 facets.
insert(fixedZeroFractionDigits->type(), fixedZeroFractionDigits);
502 facets.
insert(minInclusive->type(), minInclusive);
507 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
512 facets.
insert(pattern->type(), pattern);
517 facets.
insert(fixedCollapseWhiteSpace->type(), fixedCollapseWhiteSpace);
522 facets.
insert(pattern->type(), pattern);
static uint hash(const uchar *p, int n)
Represents a XSD facet object.
static const AtomicType::Ptr xsBase64Binary
static const AtomicType::Ptr xsID
virtual QNetworkAccessManager * networkAccessManager() const
virtual QSourceLocation locationFor(const SourceLocationReflection *const reflection) const
static const AtomicType::Ptr xsDayTimeDuration
QAbstractMessageHandler * m_messageHandler
static const AtomicType::Ptr xsInt
#define QT_END_NAMESPACE
This macro expands to.
Match a minimum inclusive (Minimum Inclusive Definition)
static const AtomicType::Ptr xsShort
static const AtomicType::Ptr xsNegativeInteger
static const AtomicType::Ptr xsByte
static const AtomicType::Ptr xsDuration
QNetworkAccessManager * m_networkAccessManager
static const AtomicType::Ptr xsGYearMonth
static const AtomicType::Ptr xsNormalizedString
static const AtomicType::Ptr xsGMonthDay
virtual NamePool::Ptr namePool() const
The QUrl class provides a convenient interface for working with URLs.
static QString toString(NodeName token)
static const AtomicType::Ptr xsYearMonthDuration
static const AtomicType::Ptr xsName
SchemaTypeFactory::Ptr m_schemaTypeFactory
static const AtomicType::Ptr xsUnsignedByte
virtual void setBaseURI(const QUrl &uri)
iterator insert(const Key &key, const T &value)
Inserts a new item with the key and a value of value.
static const AtomicType::Ptr xsIDREF
static const AtomicType::Ptr xsString
void setMessageHandler(QAbstractMessageHandler *handler)
static const AtomicType::Ptr xsNMTOKEN
static const AtomicType::Ptr xsGDay
The QAbstractUriResolver class is a callback interface for resolving Uniform Resource Identifiers...
#define QT_BEGIN_NAMESPACE
This macro expands to.
SchemaTypeFactory::Ptr schemaTypeFactory() const
virtual const QAbstractUriResolver * uriResolver() const
static const AtomicType::Ptr xsDateTime
virtual QAbstractMessageHandler * messageHandler() const
static const AtomicType::Ptr xsUnsignedInt
The namespace for the internal API of QtXmlPatterns.
static const AtomicType::Ptr xsDouble
The QSourceLocation class identifies a location in a resource by URI, line, and column.
QExplicitlySharedDataPointer< SchemaTypeFactory > Ptr
static const AtomicType::Ptr xsENTITY
static const AtomicType::Ptr xsGYear
XsdSchemaContext(const NamePool::Ptr &namePool)
The QNetworkAccessManager class allows the application to send network requests and receive replies...
Match a whitespace rule (White Space Definition)
Match a maximum inclusive (Maximum Inclusive Definition)
static const AtomicType::Ptr xsNonNegativeInteger
Match some double digits (Fraction Digits Definition)
Represents instances of derived xs:string types, such as xs:normalizedString.
void setUriResolver(const QAbstractUriResolver *resolver)
QHash< SchemaType::Ptr, XsdFacet::Hash > setupBuiltinTypesFacetList() const
void setNetworkAccessManager(QNetworkAccessManager *accessManager)
virtual QUrl baseURI() const
static const AtomicType::Ptr xsQName
The QAbstractMessageHandler class provides a callback interface for handling messages.
static const AtomicType::Ptr xsNonPositiveInteger
XsdFacet::Hash facets() const
static QString fromLatin1(const char *, int size=-1)
Returns a QString initialized with the first size characters of the Latin-1 string str...
Match a regular expression (Pattern Definition)
static const AtomicType::Ptr xsFloat
XsdFacet::Hash facetsForType(const AnySimpleType::Ptr &type) const
static const AtomicType::Ptr xsInteger
static const AtomicType::Ptr xsTime
QHash< SchemaType::Ptr, XsdFacet::Hash > m_builtinTypesFacetList
static const AtomicType::Ptr xsUnsignedShort
static const AtomicType::Ptr xsDecimal
static const AtomicType::Ptr xsBoolean
static const AtomicType::Ptr xsNCName
static const AtomicType::Ptr xsPositiveInteger
Represents instances of derived xs:integer types, such as xs:byte.
static const AtomicType::Ptr xsDate
static const AtomicType::Ptr xsLanguage
static const AtomicType::Ptr xsLong
Factory for creating schema types for the types defined in XSD.
QImageIOHandler * handler
virtual bool isDefinedBySchema() const
static const AtomicType::Ptr xsNOTATION
static const AtomicType::Ptr xsGMonth
const QAbstractUriResolver * m_uriResolver
static const AtomicType::Ptr xsHexBinary
static const AtomicType::Ptr xsUnsignedLong
static const AtomicType::Ptr xsAnyURI
static const AtomicType::Ptr xsToken
Base class for all instances that represents something at a certain location.