Isis 3.0 Developer's Reference (
API
)
Home
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
IsisXMLApplication.h
Go to the documentation of this file.
1
24
#ifndef IsisXMLApplication_h
25
#define IsisXMLApplication_h
26
27
//#include <sax2/DefaultHandler.hpp>
28
29
#include "
IsisAmlData.h
"
30
#include "
IsisXMLGroups.h
"
31
#include "
IsisXMLHandler.h
"
32
#include "
IsisXMLIgnore.h
"
33
#include "
IsisXMLHistory.h
"
39
class
IsisXMLApplication
:
public
IsisXMLHandler
{
40
41
public
:
42
43
// Constructors
44
IsisXMLApplication
(
char
*PencodingName,
45
bool
&PexpandNamespaces,
46
XERCES::SAX2XMLReader* &Pparser,
47
IsisAmlData
*PappData);
48
49
~IsisXMLApplication
();
50
51
52
// SAX DocumentHandler interface
53
void
endDocument
();
54
55
void
endElement
(
const
XMLCh *
const
uri,
56
const
XMLCh *
const
localname,
57
const
XMLCh *
const
qname);
58
59
void
characters
(
const
XMLCh *
const
chars,
60
const
XMLSize_t length);
61
62
void
processingInstruction
(
const
XMLCh *
const
target,
63
const
XMLCh *
const
data);
64
65
void
startDocument
();
66
67
void
startElement
(
const
XMLCh *
const
uri,
68
const
XMLCh *
const
localname,
69
const
XMLCh *
const
qname,
70
const
XERCES::Attributes &attributes);
71
72
73
74
private
:
75
76
// Saved argument from the constructor
77
char
*encodingName;
78
bool
expandNamespaces;
79
XERCES::SAX2XMLReader *parser;
80
IsisAmlData
*appData;
81
82
// Handlers this handler knows how to create
83
IsisXMLHandler
*briefHandler;
84
IsisXMLHandler
*descriptionHandler;
85
IsisXMLGroups
*groupsHandler;
86
IsisXMLMultipleValues
*multipleValuesHandler;
87
IsisXMLIgnore
*ignoreHandler;
88
IsisXMLHistory
*historyHandler;
89
};
90
91
92
#endif