118 * Describes a set of namespace URIs |
118 * Describes a set of namespace URIs |
119 */ |
119 */ |
120 typedef QSet<QUrl> NamespaceSet; |
120 typedef QSet<QUrl> NamespaceSet; |
121 |
121 |
122 /** |
122 /** |
|
123 * Adds @p schemas to the list of already included schemas, so the parser |
|
124 * can detect multiple includes of the same schema. |
|
125 */ |
|
126 void addIncludedSchemas(const NamespaceSet &schemas); |
|
127 |
|
128 /** |
123 * Sets which @p schemas have been included already, so the parser |
129 * Sets which @p schemas have been included already, so the parser |
124 * can detect circular includes. |
130 * can detect multiple includes of the same schema. |
125 */ |
131 */ |
126 void setIncludedSchemas(const NamespaceSet &schemas); |
132 void setIncludedSchemas(const NamespaceSet &schemas); |
|
133 |
|
134 /** |
|
135 * Adds @p schemas to the list of already imported schemas, so the parser |
|
136 * can detect multiple imports of the same schema. |
|
137 */ |
|
138 void addImportedSchemas(const NamespaceSet &schemas); |
127 |
139 |
128 /** |
140 /** |
129 * Sets which @p schemas have been imported already, so the parser |
141 * Sets which @p schemas have been imported already, so the parser |
130 * can detect circular imports. |
142 * can detect circular imports. |
131 */ |
143 */ |
132 void setImportedSchemas(const NamespaceSet &schemas); |
144 void setImportedSchemas(const NamespaceSet &schemas); |
133 |
145 |
134 /** |
146 /** |
|
147 * Adds @p schemas to the list of already redefined schemas, so the parser |
|
148 * can detect multiple redefines of the same schema. |
|
149 */ |
|
150 void addRedefinedSchemas(const NamespaceSet &schemas); |
|
151 |
|
152 /** |
135 * Sets which @p schemas have been redefined already, so the parser |
153 * Sets which @p schemas have been redefined already, so the parser |
136 * can detect circular redefines. |
154 * can detect multiple redefines of the same schema. |
137 */ |
155 */ |
138 void setRedefinedSchemas(const NamespaceSet &schemas); |
156 void setRedefinedSchemas(const NamespaceSet &schemas); |
139 |
157 |
140 /** |
158 /** |
141 * Sets the target namespace of the schema to parse. |
159 * Sets the target namespace of the schema to parse. |