49 : m_namePool(namePool)
72 for (
int i = 0; i < group->particles().count(); ++i)
76 qDebug(
"%swildcard (process=%d)",
qPrintable(prefix), wildcard->processContents());
104 qDebug() <<
" namespaces:" << constraint->namespaces();
111 qDebug(
"\n+++ Complex Type +++");
116 qDebug(
" base type: (none)");
118 qDebug(
" content type: empty");
120 qDebug(
" content type: simple");
122 qDebug(
" content type: element-only");
124 qDebug(
" content type: mixed");
129 qDebug(
" simple type: (none)");
134 for (
int i = 0; i < uses.
count(); ++i) {
146 qDebug(
"\n+++ Simple Type +++");
153 qDebug(
" primitive type: (none)");
185 qDebug() <<
"------------------------------ Schema -------------------------------";
189 qDebug() <<
"Global Elements:";
191 for (
int i = 0; i < elements.
count(); ++i) {
198 qDebug() <<
"Global Attributes:";
200 for (
int i = 0; i < attributes.
count(); ++i) {
207 qDebug() <<
"Global Types:";
209 for (
int i = 0; i < types.
count(); ++i) {
216 qDebug() <<
"Anonymous Types:";
218 for (
int i = 0; i < types.
count(); ++i) {
223 qDebug() <<
"+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++";
static QString number(int, int base=10)
This is an overloaded member function, provided for convenience. It differs from the above function o...
The complex type has further elements or attributes and text as content.
Any namespace is allowed.
#define QT_END_NAMESPACE
This macro expands to.
The model group is a choice.
virtual QString displayName(const NamePool::Ptr &namePool) const
ProcessContents processContents() const
XsdTerm::Ptr term() const
The model group contains elements only.
void dumpSchema(const XsdSchema::Ptr &schema)
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
SchemaType::List anonymousTypes() const
int count(const T &t) const
Returns the number of occurrences of value in the list.
The QString class provides a Unicode character string.
void dumpType(const SchemaType::Ptr &type)
virtual bool isWildcard() const
XsdAttributeUse::List attributeUses() const
ContentType::Ptr contentType() const
XsdWildcard::Ptr attributeWildcard() const
SchemaType::Ptr type() const
virtual SchemaType::Ptr wxsSuperType() const
Q_CORE_EXPORT void qDebug(const char *,...)
unsigned int maximumOccurs() const
virtual bool isElement() const
#define QT_BEGIN_NAMESPACE
This macro expands to.
void dumpParticle(const XsdParticle::Ptr &particle, int level=0)
unsigned int minimumOccurs() const
XsdSchemaDebugger(const NamePool::Ptr &namePool)
AnySimpleType::Ptr type() const
virtual bool isComplexType() const
const T & at(int i) const
Returns the item at index position i in the list.
The QStringList class provides a list of strings.
The namespace for the internal API of QtXmlPatterns.
virtual QString displayName(const NamePool::Ptr &namePool) const
void append(const T &t)
Inserts value at the end of the vector.
const T & at(int i) const
Returns the item at index position i in the vector.
The complex type has only simple type content (e.g. text, number etc.)
QString join(const QString &sep) const
Joins all the string list's strings into a single string with each element separated by the given sep...
bool maximumOccursUnbounded() const
NamespaceConstraint::Ptr namespaceConstraint() const
void dumpWildcard(const XsdWildcard::Ptr &wildcard)
void dumpAttribute(const XsdAttribute::Ptr &attribute)
void dumpInheritance(const SchemaType::Ptr &type, int level=0)
QString & fill(QChar c, int size=-1)
Sets every character in the string to character ch.
AnySimpleType::Ptr primitiveType() const
XsdAttribute::List attributes() const
virtual bool isModelGroup() const
static const QTextHtmlElement elements[Html_NumElements]
BlockingConstraints disallowedSubstitutions() const
virtual bool isAbstract() const
void dumpElement(const XsdElement::Ptr &element)
const NamePool::Ptr m_namePool
virtual bool isDefinedBySchema() const
SchemaType::List types() const
The complex type has further elements or attributes but no text as content.
virtual QString displayName(const NamePool::Ptr &np) const
#define qPrintable(string)
virtual SchemaType::Ptr wxsSuperType() const =0
virtual QString displayName(const NamePool::Ptr &np) const =0
Returns a suitable display name for this type.
The complex type has no further content.
The model group is a sequence.
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
XsdElement::List elements() const