Qt 4.8
|
Represents a XSD wildcard object. More...
#include <qxsdwildcard_p.h>
Classes | |
class | NamespaceConstraint |
Public Types | |
enum | ProcessContents { Strict, Lax, Skip } |
typedef QExplicitlySharedDataPointer< XsdWildcard > | Ptr |
Public Types inherited from QPatternist::XsdTerm | |
typedef QExplicitlySharedDataPointer< XsdTerm > | Ptr |
Public Types inherited from QPatternist::NamedSchemaComponent | |
enum | BlockingConstraint { RestrictionConstraint = 1, ExtensionConstraint = 2, SubstitutionConstraint = 4 } |
typedef QExplicitlySharedDataPointer< NamedSchemaComponent > | Ptr |
Static Public Functions | |
static QString | absentNamespace () |
Properties | |
NamespaceConstraint::Ptr | m_namespaceConstraint |
ProcessContents | m_processContents |
Additional Inherited Members | |
Public Variables inherited from QSharedData | |
QAtomicInt | ref |
Protected Functions inherited from QPatternist::XsdTerm | |
XsdTerm () | |
Represents a XSD wildcard object.
This class represents the wildcard object of a XML schema as described here.
It contains information from either an any object or an anyAttribute object.
Definition at line 77 of file qxsdwildcard_p.h.
Definition at line 80 of file qxsdwildcard_p.h.
Describes the type of content processing of the wildcard.
Definition at line 148 of file qxsdwildcard_p.h.
XsdWildcard::XsdWildcard | ( | ) |
Creates a new wildcard object.
Definition at line 83 of file qxsdwildcard.cpp.
|
static |
Defines the absent namespace that is used in wildcards.
Definition at line 48 of file qxsdwildcard.cpp.
Referenced by derivedTermValid(), QPatternist::XsdStateMachine< XsdSchemaToken::NodeName >::inputEqualsTransition(), QPatternist::XsdSchemaHelper::isValidAttributeUsesRestriction(), QPatternist::XsdSchemaParser::parseAny(), QPatternist::XsdSchemaParser::parseAnyAttribute(), termMatches(), QPatternist::XsdValidatingInstanceReader::validateAttributeWildcard(), QPatternist::XsdSchemaHelper::wildcardAllowsNamespaceName(), QPatternist::XsdSchemaHelper::wildcardIntersection(), and QPatternist::XsdSchemaHelper::wildcardUnion().
|
virtual |
Returns always true
, used to avoid dynamic casts.
Reimplemented from QPatternist::XsdTerm.
Definition at line 90 of file qxsdwildcard.cpp.
XsdWildcard::NamespaceConstraint::Ptr XsdWildcard::namespaceConstraint | ( | ) | const |
Returns the namespace constraint of the wildcard.
Definition at line 100 of file qxsdwildcard.cpp.
Referenced by QPatternist::XsdValidatingInstanceReader::anyType(), QPatternist::XsdSchemaChecker::checkElementDuplicates(), QPatternist::XsdSchemaDebugger::dumpWildcard(), isValidWildcardRestriction(), QPatternist::XsdSchemaHelper::isWildcardSubset(), QPatternist::XsdSchemaParser::parseAny(), QPatternist::XsdSchemaParser::parseAnyAttribute(), QPatternist::XsdSchemaResolver::resolveComplexContentComplexTypes(), setNamespaceConstraint(), termMatches(), QPatternist::XsdValidatingInstanceReader::validate(), QPatternist::XsdSchemaHelper::wildcardAllowsExpandedName(), QPatternist::XsdSchemaHelper::wildcardIntersection(), and QPatternist::XsdSchemaHelper::wildcardUnion().
XsdWildcard::ProcessContents XsdWildcard::processContents | ( | ) | const |
Returns the process contents of the wildcard.
Definition at line 110 of file qxsdwildcard.cpp.
Referenced by QPatternist::XsdSchemaChecker::checkElementDuplicates(), QPatternist::XsdSchemaHelper::checkWildcardProcessContents(), QPatternist::XsdSchemaDebugger::dumpWildcard(), QPatternist::XsdSchemaResolver::resolveAttributeTermReferences(), and QPatternist::XsdValidatingInstanceReader::validate().
void XsdWildcard::setNamespaceConstraint | ( | const NamespaceConstraint::Ptr & | constraint | ) |
Sets the namespace constraint
of the wildcard.
Definition at line 95 of file qxsdwildcard.cpp.
void XsdWildcard::setProcessContents | ( | ProcessContents | contents | ) |
Sets the process contents
of the wildcard.
Definition at line 105 of file qxsdwildcard.cpp.
Referenced by QPatternist::XsdValidatingInstanceReader::anyType(), QPatternist::XsdSchemaParser::parseAny(), QPatternist::XsdSchemaParser::parseAnyAttribute(), QPatternist::XsdSchemaResolver::resolveAttributeInheritance(), QPatternist::XsdSchemaResolver::resolveAttributeTermReferences(), QPatternist::XsdSchemaResolver::resolveComplexContentComplexTypes(), and QPatternist::XsdValidatingInstanceReader::validate().
|
private |
Definition at line 190 of file qxsdwildcard_p.h.
Referenced by namespaceConstraint(), setNamespaceConstraint(), and XsdWildcard().
|
private |
Definition at line 191 of file qxsdwildcard_p.h.
Referenced by processContents(), and setProcessContents().