Qt 4.8
|
A base class for all particles of a model group. More...
#include <qxsdterm_p.h>
Public Types | |
typedef QExplicitlySharedDataPointer< XsdTerm > | Ptr |
Public Types inherited from QPatternist::NamedSchemaComponent | |
enum | BlockingConstraint { RestrictionConstraint = 1, ExtensionConstraint = 2, SubstitutionConstraint = 4 } |
typedef QExplicitlySharedDataPointer< NamedSchemaComponent > | Ptr |
Public Functions | |
virtual bool | isElement () const |
virtual bool | isModelGroup () const |
virtual bool | isReference () const |
virtual bool | isWildcard () const |
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... | |
Public Functions inherited from QPatternist::XsdAnnotated | |
void | addAnnotation (const XsdAnnotation::Ptr &annotation) |
void | addAnnotations (const XsdAnnotation::List &annotations) |
XsdAnnotation::List | annotations () const |
Protected Functions | |
XsdTerm () | |
Additional Inherited Members | |
Public Variables inherited from QSharedData | |
QAtomicInt | ref |
A base class for all particles of a model group.
This class is the base class for all particles of a model group as the element, group or any tag, it is not supposed to be instantiated directly.
Definition at line 75 of file qxsdterm_p.h.
Definition at line 78 of file qxsdterm_p.h.
|
inlineprotected |
This constructor only exists to ensure this class is subclassed.
Definition at line 106 of file qxsdterm_p.h.
|
virtual |
Returns true
if the term is an element, false
otherwise.
Reimplemented in QPatternist::XsdElement.
Definition at line 48 of file qxsdterm.cpp.
Referenced by QPatternist::XsdStateMachineBuilder::buildTerm(), QPatternist::XsdSchemaChecker::checkElementDuplicates(), derivedTermValid(), QPatternist::XsdSchemaDebugger::dumpParticle(), effectiveTotalRangeMinimum(), QPatternist::XsdSchemaChecker::elementSequenceAccepted(), hasDuplicatedElementsInternal(), QPatternist::XsdSchemaChecker::particleEqualsRecursively(), QPatternist::XsdSchemaResolver::resolveTermReference(), termMatches(), QPatternist::XsdStateMachine< XsdSchemaToken::NodeName >::transitionTypeToString(), and QPatternist::XsdValidatingInstanceReader::validate().
|
virtual |
Returns true
if the term is a model group (group tag), false
otherwise.
Reimplemented in QPatternist::XsdModelGroup.
Definition at line 53 of file qxsdterm.cpp.
Referenced by QPatternist::XsdStateMachineBuilder::buildTerm(), QPatternist::XsdSchemaChecker::checkElementDuplicates(), collectGroupRef(), QPatternist::XsdSchemaDebugger::dumpParticle(), effectiveTotalRangeMinimum(), hasDuplicatedElementsInternal(), internalParticleLookupMap(), QPatternist::XsdSchemaHelper::isParticleEmptiable(), QPatternist::XsdParticleChecker::isUPAConform(), QPatternist::XsdSchemaChecker::isValidParticleExtension(), QPatternist::XsdSchemaChecker::particleEqualsRecursively(), QPatternist::XsdSchemaResolver::resolveComplexContentComplexTypes(), and QPatternist::XsdSchemaResolver::resolveTermReference().
|
virtual |
Returns true
if the term is a reference, false
otherwise.
Reimplemented in QPatternist::XsdReference.
Definition at line 63 of file qxsdterm.cpp.
Referenced by collectGroupRef(), and QPatternist::XsdSchemaResolver::resolveTermReference().
|
virtual |
Returns true
if the term is a wildcard (any tag), false
otherwise.
Reimplemented in QPatternist::XsdWildcard.
Definition at line 58 of file qxsdterm.cpp.
Referenced by QPatternist::XsdStateMachineBuilder::buildTerm(), QPatternist::XsdSchemaChecker::checkElementDuplicates(), derivedTermValid(), QPatternist::XsdSchemaDebugger::dumpParticle(), effectiveTotalRangeMinimum(), QPatternist::XsdSchemaChecker::elementSequenceAccepted(), QPatternist::XsdSchemaChecker::particleEqualsRecursively(), termMatches(), and QPatternist::XsdStateMachine< XsdSchemaToken::NodeName >::transitionTypeToString().