FictionBook2MetadataContext.h Source File documentation

FictionBook2MetadataContext.h
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2/*
3 * This file is part of the libe-book project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#ifndef FICTIONBOOK2METADATACONTEXT_H_INCLUDED
11#define FICTIONBOOK2METADATACONTEXT_H_INCLUDED
12
13#include <memory>
14
15#include "FictionBook2ParserContext.h"
16
17namespace libebook
18{
19
20class FictionBook2Authors;
21
22 class FictionBook2AnnotationContext : public FictionBook2BlockFormatContextBase
23{
24public:
25 FictionBook2AnnotationContext(std::shared_ptr<FictionBook2ParserContext> parentContext, const FictionBook2BlockFormat &format);
26
27private:
28 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
29 void startOfElement() override;
30 void endOfElement() override;
31 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
32 void text(const char *value) override;
33};
34
35 class FictionBook2AuthorContext : public FictionBook2ParserContext
36{
37public:
38 FictionBook2AuthorContext(std::shared_ptr<FictionBook2ParserContext> parentContext, FictionBook2Authors &authors);
39
40private:
41 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
42 void startOfElement() override;
43 void endOfElement() override;
44 void endOfAttributes() override {}
45 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
46 void text(const char *value) override;
47
48private:
49 FictionBook2Authors &m_authors;
50};
51
52 class FictionBook2BookNameContext : public FictionBook2ParserContext
53{
54public:
55 explicit FictionBook2BookNameContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
56
57private:
58 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
59 void startOfElement() override;
60 void endOfElement() override;
61 void endOfAttributes() override {}
62 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
63 void text(const char *value) override;
64};
65
66 class FictionBook2BookTitleContext : public FictionBook2ParserContext
67{
68public:
69 explicit FictionBook2BookTitleContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
70
71private:
72 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
73 void startOfElement() override;
74 void endOfElement() override;
75 void endOfAttributes() override {}
76 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
77 void text(const char *value) override;
78};
79
80 class FictionBook2CityContext : public FictionBook2ParserContext
81{
82public:
83 explicit FictionBook2CityContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
84
85private:
86 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
87 void startOfElement() override;
88 void endOfElement() override;
89 void endOfAttributes() override {}
90 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
91 void text(const char *value) override;
92};
93
94 class FictionBook2CoverpageContext : public FictionBook2ParserContext
95{
96public:
97 explicit FictionBook2CoverpageContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
98
99private:
100 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
101 void startOfElement() override;
102 void endOfElement() override;
103 void endOfAttributes() override {}
104 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
105 void text(const char *value) override;
106};
107
108 class FictionBook2CustomInfoContext : public FictionBook2ParserContext
109{
110public:
111 explicit FictionBook2CustomInfoContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
112
113private:
114 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
115 void startOfElement() override;
116 void endOfElement() override;
117 void endOfAttributes() override {}
118 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
119 void text(const char *value) override;
120
121private:
122 librevenge::RVNGString m_type;
123 librevenge::RVNGString m_text;
124};
125
126 class FictionBook2DateContext : public FictionBook2ParserContext
127{
128 // no copying
129 FictionBook2DateContext(const FictionBook2DateContext &);
130 FictionBook2DateContext &operator=(const FictionBook2DateContext &);
131
132public:
133 FictionBook2DateContext(std::shared_ptr<FictionBook2ParserContext> parentContext, const char *name);
134
135private:
136 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
137 void startOfElement() override;
138 void endOfElement() override;
139 void endOfAttributes() override {}
140 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
141 void text(const char *value) override;
142
143private:
144 const char *const m_name;
145};
146
147 class FictionBook2DescriptionContext : public FictionBook2ParserContext
148{
149public:
150 FictionBook2DescriptionContext(std::shared_ptr<FictionBook2ParserContext> parentContext, FictionBook2Collector *collector);
151
152private:
153 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
154 void startOfElement() override;
155 void endOfElement() override;
156 void endOfAttributes() override {}
157 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
158 void text(const char *value) override;
159};
160
161 class FictionBook2TextInfoContext : public FictionBook2ParserContext
162{
163 // no copying
164 FictionBook2TextInfoContext(const FictionBook2TextInfoContext &other);
165 FictionBook2TextInfoContext &operator=(const FictionBook2TextInfoContext &other);
166
167public:
168 FictionBook2TextInfoContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
169
170private:
171 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
172 void startOfElement() override;
173 void endOfElement() override;
174 void endOfAttributes() override {}
175 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
176 void text(const char *value) override;
177
178private:
179 std::unique_ptr<FictionBook2Authors> m_authors;
180};
181
182 class FictionBook2EmailContext : public FictionBook2ParserContext
183{
184public:
185 explicit FictionBook2EmailContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
186
187private:
188 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
189 void startOfElement() override;
190 void endOfElement() override;
191 void endOfAttributes() override {}
192 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
193 void text(const char *value) override;
194};
195
196 class FictionBook2FirstNameContext : public FictionBook2ParserContext
197{
198public:
199 FictionBook2FirstNameContext(std::shared_ptr<FictionBook2ParserContext> parentContext, FictionBook2Authors &authors);
200
201private:
202 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
203 void startOfElement() override;
204 void endOfElement() override;
205 void endOfAttributes() override {}
206 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
207 void text(const char *value) override;
208
209private:
210 FictionBook2Authors &m_authors;
211};
212
213 class FictionBook2GenreContext : public FictionBook2ParserContext
214{
215public:
216 explicit FictionBook2GenreContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
217
218private:
219 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
220 void startOfElement() override;
221 void endOfElement() override;
222 void endOfAttributes() override {}
223 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
224 void text(const char *value) override;
225};
226
227 class FictionBook2HistoryContext : public FictionBook2ParserContext
228{
229public:
230 explicit FictionBook2HistoryContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
231
232private:
233 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
234 void startOfElement() override;
235 void endOfElement() override;
236 void endOfAttributes() override {}
237 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
238 void text(const char *value) override;
239};
240
241 class FictionBook2HomePageContext : public FictionBook2ParserContext
242{
243public:
244 explicit FictionBook2HomePageContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
245
246private:
247 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
248 void startOfElement() override;
249 void endOfElement() override;
250 void endOfAttributes() override {}
251 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
252 void text(const char *value) override;
253};
254
255 class FictionBook2IdContext : public FictionBook2ParserContext
256{
257public:
258 explicit FictionBook2IdContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
259
260private:
261 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
262 void startOfElement() override;
263 void endOfElement() override;
264 void endOfAttributes() override {}
265 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
266 void text(const char *value) override;
267};
268
269 class FictionBook2IsbnContext : public FictionBook2ParserContext
270{
271public:
272 explicit FictionBook2IsbnContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
273
274private:
275 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
276 void startOfElement() override;
277 void endOfElement() override;
278 void endOfAttributes() override {}
279 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
280 void text(const char *value) override;
281};
282
283 class FictionBook2KeywordsContext : public FictionBook2ParserContext
284{
285public:
286 explicit FictionBook2KeywordsContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
287
288private:
289 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
290 void startOfElement() override;
291 void endOfElement() override;
292 void endOfAttributes() override {}
293 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
294 void text(const char *value) override;
295};
296
297 class FictionBook2LangContext : public FictionBook2ParserContext
298{
299public:
300 explicit FictionBook2LangContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
301
302private:
303 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
304 void startOfElement() override;
305 void endOfElement() override;
306 void endOfAttributes() override {}
307 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
308 void text(const char *value) override;
309};
310
311 class FictionBook2LastNameContext : public FictionBook2ParserContext
312{
313public:
314 FictionBook2LastNameContext(std::shared_ptr<FictionBook2ParserContext> parentContext, FictionBook2Authors &authors);
315
316private:
317 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
318 void startOfElement() override;
319 void endOfElement() override;
320 void endOfAttributes() override {}
321 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
322 void text(const char *value) override;
323
324private:
325 FictionBook2Authors &m_authors;
326};
327
328 class FictionBook2MiddleNameContext : public FictionBook2ParserContext
329{
330public:
331 FictionBook2MiddleNameContext(std::shared_ptr<FictionBook2ParserContext> parentContext, FictionBook2Authors &authors);
332
333private:
334 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
335 void startOfElement() override;
336 void endOfElement() override;
337 void endOfAttributes() override {}
338 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
339 void text(const char *value) override;
340
341private:
342 FictionBook2Authors &m_authors;
343};
344
345 class FictionBook2NicknameContext : public FictionBook2ParserContext
346{
347public:
348 FictionBook2NicknameContext(std::shared_ptr<FictionBook2ParserContext> parentContext, FictionBook2Authors &authors);
349
350private:
351 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
352 void startOfElement() override;
353 void endOfElement() override;
354 void endOfAttributes() override {}
355 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
356 void text(const char *value) override;
357
358private:
359 FictionBook2Authors &m_authors;
360};
361
362 class FictionBook2OutputContext : public FictionBook2ParserContext
363{
364public:
365 explicit FictionBook2OutputContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
366
367private:
368 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
369 void startOfElement() override;
370 void endOfElement() override;
371 void endOfAttributes() override {}
372 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
373 void text(const char *value) override;
374};
375
376 class FictionBook2OutputDocumentClassContext : public FictionBook2ParserContext
377{
378public:
379 explicit FictionBook2OutputDocumentClassContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
380
381private:
382 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
383 void startOfElement() override;
384 void endOfElement() override;
385 void endOfAttributes() override {}
386 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
387 void text(const char *value) override;
388};
389
390 class FictionBook2PartContext : public FictionBook2ParserContext
391{
392public:
393 explicit FictionBook2PartContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
394
395private:
396 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
397 void startOfElement() override;
398 void endOfElement() override;
399 void endOfAttributes() override {}
400 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
401 void text(const char *value) override;
402};
403
404 class FictionBook2ProgramUsedContext : public FictionBook2ParserContext
405{
406public:
407 explicit FictionBook2ProgramUsedContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
408
409private:
410 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
411 void startOfElement() override;
412 void endOfElement() override;
413 void endOfAttributes() override {}
414 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
415 void text(const char *value) override;
416};
417
418 class FictionBook2PublisherContext : public FictionBook2ParserContext
419{
420public:
421 explicit FictionBook2PublisherContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
422
423private:
424 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
425 void startOfElement() override;
426 void endOfElement() override;
427 void endOfAttributes() override {}
428 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
429 void text(const char *value) override;
430};
431
432 class FictionBook2PublishInfoContext : public FictionBook2ParserContext
433{
434public:
435 explicit FictionBook2PublishInfoContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
436
437private:
438 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
439 void startOfElement() override;
440 void endOfElement() override;
441 void endOfAttributes() override {}
442 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
443 void text(const char *value) override;
444};
445
446 class FictionBook2SequenceContext : public FictionBook2ParserContext
447{
448public:
449 explicit FictionBook2SequenceContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
450
451private:
452 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
453 void startOfElement() override;
454 void endOfElement() override;
455 void endOfAttributes() override {}
456 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
457 void text(const char *value) override;
458};
459
460 class FictionBook2SrcLangContext : public FictionBook2ParserContext
461{
462public:
463 explicit FictionBook2SrcLangContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
464
465private:
466 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
467 void startOfElement() override;
468 void endOfElement() override;
469 void endOfAttributes() override {}
470 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
471 void text(const char *value) override;
472};
473
474 class FictionBook2SrcOcrContext : public FictionBook2ParserContext
475{
476public:
477 explicit FictionBook2SrcOcrContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
478
479private:
480 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
481 void startOfElement() override;
482 void endOfElement() override;
483 void endOfAttributes() override {}
484 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
485 void text(const char *value) override;
486};
487
488 class FictionBook2SrcTitleInfoContext : public FictionBook2ParserContext
489{
490public:
491 explicit FictionBook2SrcTitleInfoContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
492
493private:
494 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
495 void startOfElement() override;
496 void endOfElement() override;
497 void endOfAttributes() override {}
498 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
499 void text(const char *value) override;
500};
501
502 class FictionBook2SrcUrlContext : public FictionBook2ParserContext
503{
504public:
505 explicit FictionBook2SrcUrlContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
506
507private:
508 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
509 void startOfElement() override;
510 void endOfElement() override;
511 void endOfAttributes() override {}
512 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
513 void text(const char *value) override;
514};
515
516 class FictionBook2TitleInfoContext : public FictionBook2ParserContext
517{
518 // no copying
519 FictionBook2TitleInfoContext(const FictionBook2TitleInfoContext &other);
520 FictionBook2TitleInfoContext &operator=(const FictionBook2TitleInfoContext &other);
521
522public:
523 explicit FictionBook2TitleInfoContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
524
525private:
526 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
527 void startOfElement() override;
528 void endOfElement() override;
529 void endOfAttributes() override {}
530 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
531 void text(const char *value) override;
532
533private:
534 std::unique_ptr<FictionBook2Authors> m_authors;
535};
536
537 class FictionBook2TranslatorContext : public FictionBook2ParserContext
538{
539public:
540 explicit FictionBook2TranslatorContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
541
542private:
543 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
544 void startOfElement() override;
545 void endOfElement() override;
546 void endOfAttributes() override {}
547 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
548 void text(const char *value) override;
549};
550
551 class FictionBook2VersionContext : public FictionBook2ParserContext
552{
553public:
554 explicit FictionBook2VersionContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
555
556private:
557 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
558 void startOfElement() override;
559 void endOfElement() override;
560 void endOfAttributes() override {}
561 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
562 void text(const char *value) override;
563};
564
565 class FictionBook2YearContext : public FictionBook2ParserContext
566{
567public:
568 explicit FictionBook2YearContext(std::shared_ptr<FictionBook2ParserContext> parentContext);
569
570private:
571 std::shared_ptr<FictionBook2XMLParserContext> element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override;
572 void startOfElement() override;
573 void endOfElement() override;
574 void endOfAttributes() override {}
575 void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override;
576 void text(const char *value) override;
577};
578
579}
580
581#endif // FICTIONBOOK2METADATACONTEXT_H_INCLUDED
582
583/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
FictionBook2ParserContext.h
libebook::FictionBook2AnnotationContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:109
libebook::FictionBook2AnnotationContext::FictionBook2AnnotationContext
FictionBook2AnnotationContext(std::shared_ptr< FictionBook2ParserContext > parentContext, const FictionBook2BlockFormat &format)
Definition FictionBook2MetadataContext.cpp:104
libebook::FictionBook2AnnotationContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:124
libebook::FictionBook2AnnotationContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:134
libebook::FictionBook2AnnotationContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:129
libebook::FictionBook2AuthorContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:184
libebook::FictionBook2AuthorContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:44
libebook::FictionBook2AuthorContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:193
libebook::FictionBook2AuthorContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:158
libebook::FictionBook2AuthorContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:188
libebook::FictionBook2AuthorContext::FictionBook2AuthorContext
FictionBook2AuthorContext(std::shared_ptr< FictionBook2ParserContext > parentContext, FictionBook2Authors &authors)
Definition FictionBook2MetadataContext.cpp:152
libebook::FictionBook2AuthorContext::m_authors
FictionBook2Authors & m_authors
Definition FictionBook2MetadataContext.h:49
libebook::FictionBook2Authors
Definition FictionBook2MetadataContext.cpp:22
libebook::FictionBook2BlockFormatContextBase::FictionBook2BlockFormatContextBase
FictionBook2BlockFormatContextBase(std::shared_ptr< FictionBook2ParserContext > parentContext, const FictionBook2BlockFormat &format)
Definition FictionBook2ParserContext.cpp:217
libebook::FictionBook2BookNameContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:206
libebook::FictionBook2BookNameContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:231
libebook::FictionBook2BookNameContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:226
libebook::FictionBook2BookNameContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:61
libebook::FictionBook2BookNameContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:221
libebook::FictionBook2BookNameContext::FictionBook2BookNameContext
FictionBook2BookNameContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:201
libebook::FictionBook2BookTitleContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:257
libebook::FictionBook2BookTitleContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:270
libebook::FictionBook2BookTitleContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:262
libebook::FictionBook2BookTitleContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:266
libebook::FictionBook2BookTitleContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:75
libebook::FictionBook2BookTitleContext::FictionBook2BookTitleContext
FictionBook2BookTitleContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:252
libebook::FictionBook2CityContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:304
libebook::FictionBook2CityContext::FictionBook2CityContext
FictionBook2CityContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:279
libebook::FictionBook2CityContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:299
libebook::FictionBook2CityContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:284
libebook::FictionBook2CityContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:309
libebook::FictionBook2CityContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:89
libebook::FictionBook2Collector
Definition FictionBook2Collector.h:23
libebook::FictionBook2CoverpageContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:355
libebook::FictionBook2CoverpageContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:360
libebook::FictionBook2CoverpageContext::FictionBook2CoverpageContext
FictionBook2CoverpageContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:330
libebook::FictionBook2CoverpageContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:350
libebook::FictionBook2CoverpageContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:335
libebook::FictionBook2CoverpageContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:103
libebook::FictionBook2CustomInfoContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:397
libebook::FictionBook2CustomInfoContext::m_text
librevenge::RVNGString m_text
Definition FictionBook2MetadataContext.h:123
libebook::FictionBook2CustomInfoContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:393
libebook::FictionBook2CustomInfoContext::m_type
librevenge::RVNGString m_type
Definition FictionBook2MetadataContext.h:122
libebook::FictionBook2CustomInfoContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:388
libebook::FictionBook2CustomInfoContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:406
libebook::FictionBook2CustomInfoContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:117
libebook::FictionBook2CustomInfoContext::FictionBook2CustomInfoContext
FictionBook2CustomInfoContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:381
libebook::FictionBook2DateContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:431
libebook::FictionBook2DateContext::FictionBook2DateContext
FictionBook2DateContext(const FictionBook2DateContext &)
libebook::FictionBook2DateContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:440
libebook::FictionBook2DateContext::m_name
const char *const m_name
Definition FictionBook2MetadataContext.h:144
libebook::FictionBook2DateContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:444
libebook::FictionBook2DateContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:436
libebook::FictionBook2DateContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:139
libebook::FictionBook2DateContext::operator=
FictionBook2DateContext & operator=(const FictionBook2DateContext &)
libebook::FictionBook2DescriptionContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:502
libebook::FictionBook2DescriptionContext::FictionBook2DescriptionContext
FictionBook2DescriptionContext(std::shared_ptr< FictionBook2ParserContext > parentContext, FictionBook2Collector *collector)
Definition FictionBook2MetadataContext.cpp:466
libebook::FictionBook2DescriptionContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:156
libebook::FictionBook2DescriptionContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:471
libebook::FictionBook2DescriptionContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:506
libebook::FictionBook2DescriptionContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:498
libebook::FictionBook2EmailContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:584
libebook::FictionBook2EmailContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:594
libebook::FictionBook2EmailContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:569
libebook::FictionBook2EmailContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:191
libebook::FictionBook2EmailContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:589
libebook::FictionBook2EmailContext::FictionBook2EmailContext
FictionBook2EmailContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:564
libebook::FictionBook2FirstNameContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:621
libebook::FictionBook2FirstNameContext::FictionBook2FirstNameContext
FictionBook2FirstNameContext(std::shared_ptr< FictionBook2ParserContext > parentContext, FictionBook2Authors &authors)
Definition FictionBook2MetadataContext.cpp:615
libebook::FictionBook2FirstNameContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:630
libebook::FictionBook2FirstNameContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:205
libebook::FictionBook2FirstNameContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:626
libebook::FictionBook2FirstNameContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:634
libebook::FictionBook2FirstNameContext::m_authors
FictionBook2Authors & m_authors
Definition FictionBook2MetadataContext.h:210
libebook::FictionBook2GenreContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:649
libebook::FictionBook2GenreContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:674
libebook::FictionBook2GenreContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:222
libebook::FictionBook2GenreContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:664
libebook::FictionBook2GenreContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:669
libebook::FictionBook2GenreContext::FictionBook2GenreContext
FictionBook2GenreContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:644
libebook::FictionBook2HistoryContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:236
libebook::FictionBook2HistoryContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:720
libebook::FictionBook2HistoryContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:725
libebook::FictionBook2HistoryContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:715
libebook::FictionBook2HistoryContext::FictionBook2HistoryContext
FictionBook2HistoryContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:695
libebook::FictionBook2HistoryContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:700
libebook::FictionBook2HomePageContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:751
libebook::FictionBook2HomePageContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:771
libebook::FictionBook2HomePageContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:776
libebook::FictionBook2HomePageContext::FictionBook2HomePageContext
FictionBook2HomePageContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:746
libebook::FictionBook2HomePageContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:766
libebook::FictionBook2HomePageContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:250
libebook::FictionBook2IdContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:817
libebook::FictionBook2IdContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:822
libebook::FictionBook2IdContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:802
libebook::FictionBook2IdContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:827
libebook::FictionBook2IdContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:264
libebook::FictionBook2IdContext::FictionBook2IdContext
FictionBook2IdContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:797
libebook::FictionBook2IsbnContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:853
libebook::FictionBook2IsbnContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:868
libebook::FictionBook2IsbnContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:278
libebook::FictionBook2IsbnContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:873
libebook::FictionBook2IsbnContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:878
libebook::FictionBook2IsbnContext::FictionBook2IsbnContext
FictionBook2IsbnContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:848
libebook::FictionBook2KeywordsContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:909
libebook::FictionBook2KeywordsContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:917
libebook::FictionBook2KeywordsContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:292
libebook::FictionBook2KeywordsContext::FictionBook2KeywordsContext
FictionBook2KeywordsContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:899
libebook::FictionBook2KeywordsContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:913
libebook::FictionBook2KeywordsContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:904
libebook::FictionBook2LangContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:306
libebook::FictionBook2LangContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:931
libebook::FictionBook2LangContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:944
libebook::FictionBook2LangContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:940
libebook::FictionBook2LangContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:936
libebook::FictionBook2LangContext::FictionBook2LangContext
FictionBook2LangContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:926
libebook::FictionBook2LastNameContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:972
libebook::FictionBook2LastNameContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:320
libebook::FictionBook2LastNameContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:968
libebook::FictionBook2LastNameContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:964
libebook::FictionBook2LastNameContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:959
libebook::FictionBook2LastNameContext::FictionBook2LastNameContext
FictionBook2LastNameContext(std::shared_ptr< FictionBook2ParserContext > parentContext, FictionBook2Authors &authors)
Definition FictionBook2MetadataContext.cpp:953
libebook::FictionBook2LastNameContext::m_authors
FictionBook2Authors & m_authors
Definition FictionBook2MetadataContext.h:325
libebook::FictionBook2MiddleNameContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:993
libebook::FictionBook2MiddleNameContext::FictionBook2MiddleNameContext
FictionBook2MiddleNameContext(std::shared_ptr< FictionBook2ParserContext > parentContext, FictionBook2Authors &authors)
Definition FictionBook2MetadataContext.cpp:982
libebook::FictionBook2MiddleNameContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:988
libebook::FictionBook2MiddleNameContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:997
libebook::FictionBook2MiddleNameContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:337
libebook::FictionBook2MiddleNameContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:1001
libebook::FictionBook2MiddleNameContext::m_authors
FictionBook2Authors & m_authors
Definition FictionBook2MetadataContext.h:342
libebook::FictionBook2NicknameContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:354
libebook::FictionBook2NicknameContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:1030
libebook::FictionBook2NicknameContext::m_authors
FictionBook2Authors & m_authors
Definition FictionBook2MetadataContext.h:359
libebook::FictionBook2NicknameContext::FictionBook2NicknameContext
FictionBook2NicknameContext(std::shared_ptr< FictionBook2ParserContext > parentContext, FictionBook2Authors &authors)
Definition FictionBook2MetadataContext.cpp:1011
libebook::FictionBook2NicknameContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:1022
libebook::FictionBook2NicknameContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:1026
libebook::FictionBook2NicknameContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:1017
libebook::FictionBook2OutputContext::FictionBook2OutputContext
FictionBook2OutputContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:1040
libebook::FictionBook2OutputContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:1060
libebook::FictionBook2OutputContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:1070
libebook::FictionBook2OutputContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:1045
libebook::FictionBook2OutputContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:1065
libebook::FictionBook2OutputContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:371
libebook::FictionBook2OutputDocumentClassContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:1111
libebook::FictionBook2OutputDocumentClassContext::FictionBook2OutputDocumentClassContext
FictionBook2OutputDocumentClassContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:1091
libebook::FictionBook2OutputDocumentClassContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:1096
libebook::FictionBook2OutputDocumentClassContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:1121
libebook::FictionBook2OutputDocumentClassContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:385
libebook::FictionBook2OutputDocumentClassContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:1116
libebook::FictionBook2ParserContext::FictionBook2ParserContext
FictionBook2ParserContext(const FictionBook2ParserContext &other)
libebook::FictionBook2PartContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:1162
libebook::FictionBook2PartContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:1147
libebook::FictionBook2PartContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:1172
libebook::FictionBook2PartContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:1167
libebook::FictionBook2PartContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:399
libebook::FictionBook2PartContext::FictionBook2PartContext
FictionBook2PartContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:1142
libebook::FictionBook2ProgramUsedContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:1198
libebook::FictionBook2ProgramUsedContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:413
libebook::FictionBook2ProgramUsedContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:1223
libebook::FictionBook2ProgramUsedContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:1218
libebook::FictionBook2ProgramUsedContext::FictionBook2ProgramUsedContext
FictionBook2ProgramUsedContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:1193
libebook::FictionBook2ProgramUsedContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:1213
libebook::FictionBook2PublishInfoContext::FictionBook2PublishInfoContext
FictionBook2PublishInfoContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:1271
libebook::FictionBook2PublishInfoContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:1307
libebook::FictionBook2PublishInfoContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:441
libebook::FictionBook2PublishInfoContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:1299
libebook::FictionBook2PublishInfoContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:1303
libebook::FictionBook2PublishInfoContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:1276
libebook::FictionBook2PublisherContext::FictionBook2PublisherContext
FictionBook2PublisherContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:1244
libebook::FictionBook2PublisherContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:1258
libebook::FictionBook2PublisherContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:1254
libebook::FictionBook2PublisherContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:427
libebook::FictionBook2PublisherContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:1262
libebook::FictionBook2PublisherContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:1249
libebook::FictionBook2SequenceContext::FictionBook2SequenceContext
FictionBook2SequenceContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:1315
libebook::FictionBook2SequenceContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:1320
libebook::FictionBook2SequenceContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:1345
libebook::FictionBook2SequenceContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:1340
libebook::FictionBook2SequenceContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:455
libebook::FictionBook2SequenceContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:1335
libebook::FictionBook2SrcLangContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:1386
libebook::FictionBook2SrcLangContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:1396
libebook::FictionBook2SrcLangContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:1391
libebook::FictionBook2SrcLangContext::FictionBook2SrcLangContext
FictionBook2SrcLangContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:1366
libebook::FictionBook2SrcLangContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:469
libebook::FictionBook2SrcLangContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:1371
libebook::FictionBook2SrcOcrContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:1437
libebook::FictionBook2SrcOcrContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:1447
libebook::FictionBook2SrcOcrContext::FictionBook2SrcOcrContext
FictionBook2SrcOcrContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:1417
libebook::FictionBook2SrcOcrContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:1422
libebook::FictionBook2SrcOcrContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:483
libebook::FictionBook2SrcOcrContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:1442
libebook::FictionBook2SrcTitleInfoContext::FictionBook2SrcTitleInfoContext
FictionBook2SrcTitleInfoContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:1468
libebook::FictionBook2SrcTitleInfoContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:1473
libebook::FictionBook2SrcTitleInfoContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:1488
libebook::FictionBook2SrcTitleInfoContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:497
libebook::FictionBook2SrcTitleInfoContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:1493
libebook::FictionBook2SrcTitleInfoContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:1498
libebook::FictionBook2SrcUrlContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:1529
libebook::FictionBook2SrcUrlContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:1537
libebook::FictionBook2SrcUrlContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:511
libebook::FictionBook2SrcUrlContext::FictionBook2SrcUrlContext
FictionBook2SrcUrlContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:1519
libebook::FictionBook2SrcUrlContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:1533
libebook::FictionBook2SrcUrlContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:1524
libebook::FictionBook2TextInfoContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:547
libebook::FictionBook2TextInfoContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:551
libebook::FictionBook2TextInfoContext::operator=
FictionBook2TextInfoContext & operator=(const FictionBook2TextInfoContext &other)
libebook::FictionBook2TextInfoContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:520
libebook::FictionBook2TextInfoContext::m_authors
std::unique_ptr< FictionBook2Authors > m_authors
Definition FictionBook2MetadataContext.h:179
libebook::FictionBook2TextInfoContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:174
libebook::FictionBook2TextInfoContext::FictionBook2TextInfoContext
FictionBook2TextInfoContext(const FictionBook2TextInfoContext &other)
libebook::FictionBook2TextInfoContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:556
libebook::FictionBook2TitleInfoContext::m_authors
std::unique_ptr< FictionBook2Authors > m_authors
Definition FictionBook2MetadataContext.h:534
libebook::FictionBook2TitleInfoContext::FictionBook2TitleInfoContext
FictionBook2TitleInfoContext(const FictionBook2TitleInfoContext &other)
libebook::FictionBook2TitleInfoContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:1590
libebook::FictionBook2TitleInfoContext::operator=
FictionBook2TitleInfoContext & operator=(const FictionBook2TitleInfoContext &other)
libebook::FictionBook2TitleInfoContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:529
libebook::FictionBook2TitleInfoContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:1552
libebook::FictionBook2TitleInfoContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:1628
libebook::FictionBook2TitleInfoContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:1586
libebook::FictionBook2TranslatorContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:546
libebook::FictionBook2TranslatorContext::FictionBook2TranslatorContext
FictionBook2TranslatorContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:1636
libebook::FictionBook2TranslatorContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:1656
libebook::FictionBook2TranslatorContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:1661
libebook::FictionBook2TranslatorContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:1641
libebook::FictionBook2TranslatorContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:1666
libebook::FictionBook2VersionContext::FictionBook2VersionContext
FictionBook2VersionContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:1687
libebook::FictionBook2VersionContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:1705
libebook::FictionBook2VersionContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:1697
libebook::FictionBook2VersionContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:1701
libebook::FictionBook2VersionContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:1692
libebook::FictionBook2VersionContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:560
libebook::FictionBook2YearContext::endOfAttributes
void endOfAttributes() override
Signalize the end of attributes.
Definition FictionBook2MetadataContext.h:574
libebook::FictionBook2YearContext::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition FictionBook2MetadataContext.cpp:1739
libebook::FictionBook2YearContext::startOfElement
void startOfElement() override
Signalize the start of an element.
Definition FictionBook2MetadataContext.cpp:1734
libebook::FictionBook2YearContext::FictionBook2YearContext
FictionBook2YearContext(std::shared_ptr< FictionBook2ParserContext > parentContext)
Definition FictionBook2MetadataContext.cpp:1714
libebook::FictionBook2YearContext::element
std::shared_ptr< FictionBook2XMLParserContext > element(const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
Create a context for parsing a child element.
Definition FictionBook2MetadataContext.cpp:1719
libebook::FictionBook2YearContext::attribute
void attribute(const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
Process an attribute.
Definition FictionBook2MetadataContext.cpp:1744
libebook::EBOOKHTMLToken::value
@ value
Definition EBOOKHTMLToken.h:261
libebook::EBOOKHTMLToken::name
@ name
Definition EBOOKHTMLToken.h:214
libebook::EBOOKHTMLToken::text
@ text
Definition EBOOKHTMLToken.h:257
libebook::EBOOKOPFToken::format
@ format
Definition EBOOKOPFToken.h:54
libebook
Definition BBeBCollector.cpp:20
libebook::FictionBook2BlockFormat
Definition FictionBook2Style.h:36
libebook::FictionBook2TokenData
Definition FictionBook2Token.h:134