source: NonGTP/FCollada/libxml/SAX.h @ 964

Revision 964, 4.3 KB checked in by igarcia, 18 years ago (diff)
Line 
1/*
2 * Summary: Old SAX version 1 handler, deprecated
3 * Description: DEPRECATED set of SAX version 1 interfaces used to
4 *              build the DOM tree.
5 *
6 * Copy: See Copyright for the status of this software.
7 *
8 * Author: Daniel Veillard
9 */
10
11
12#ifndef __XML_SAX_H__
13#define __XML_SAX_H__
14
15#include <stdio.h>
16#include <stdlib.h>
17#include <libxml/xmlversion.h>
18#include <libxml/parser.h>
19#include <libxml/xlink.h>
20
21#ifdef LIBXML_LEGACY_ENABLED
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26XMLPUBFUN const xmlChar * XMLCALL
27                getPublicId                     (void *ctx);
28XMLPUBFUN const xmlChar * XMLCALL       
29                getSystemId                     (void *ctx);
30XMLPUBFUN void XMLCALL         
31                setDocumentLocator              (void *ctx,
32                                                 xmlSAXLocatorPtr loc);
33   
34XMLPUBFUN int XMLCALL           
35                getLineNumber                   (void *ctx);
36XMLPUBFUN int XMLCALL           
37                getColumnNumber                 (void *ctx);
38
39XMLPUBFUN int XMLCALL           
40                isStandalone                    (void *ctx);
41XMLPUBFUN int XMLCALL           
42                hasInternalSubset               (void *ctx);
43XMLPUBFUN int XMLCALL           
44                hasExternalSubset               (void *ctx);
45
46XMLPUBFUN void XMLCALL         
47                internalSubset                  (void *ctx,
48                                                 const xmlChar *name,
49                                                 const xmlChar *ExternalID,
50                                                 const xmlChar *SystemID);
51XMLPUBFUN void XMLCALL         
52                externalSubset                  (void *ctx,
53                                                 const xmlChar *name,
54                                                 const xmlChar *ExternalID,
55                                                 const xmlChar *SystemID);
56XMLPUBFUN xmlEntityPtr XMLCALL 
57                getEntity                       (void *ctx,
58                                                 const xmlChar *name);
59XMLPUBFUN xmlEntityPtr XMLCALL 
60                getParameterEntity              (void *ctx,
61                                                 const xmlChar *name);
62XMLPUBFUN xmlParserInputPtr XMLCALL
63                resolveEntity                   (void *ctx,
64                                                 const xmlChar *publicId,
65                                                 const xmlChar *systemId);
66
67XMLPUBFUN void XMLCALL         
68                entityDecl                      (void *ctx,
69                                                 const xmlChar *name,
70                                                 int type,
71                                                 const xmlChar *publicId,
72                                                 const xmlChar *systemId,
73                                                 xmlChar *content);
74XMLPUBFUN void XMLCALL         
75                attributeDecl                   (void *ctx,
76                                                 const xmlChar *elem,
77                                                 const xmlChar *fullname,
78                                                 int type,
79                                                 int def,
80                                                 const xmlChar *defaultValue,
81                                                 xmlEnumerationPtr tree);
82XMLPUBFUN void XMLCALL         
83                elementDecl                     (void *ctx,
84                                                 const xmlChar *name,
85                                                 int type,
86                                                 xmlElementContentPtr content);
87XMLPUBFUN void XMLCALL         
88                notationDecl                    (void *ctx,
89                                                 const xmlChar *name,
90                                                 const xmlChar *publicId,
91                                                 const xmlChar *systemId);
92XMLPUBFUN void XMLCALL         
93                unparsedEntityDecl              (void *ctx,
94                                                 const xmlChar *name,
95                                                 const xmlChar *publicId,
96                                                 const xmlChar *systemId,
97                                                 const xmlChar *notationName);
98
99XMLPUBFUN void XMLCALL         
100                startDocument                   (void *ctx);
101XMLPUBFUN void XMLCALL         
102                endDocument                     (void *ctx);
103XMLPUBFUN void XMLCALL         
104                attribute                       (void *ctx,
105                                                 const xmlChar *fullname,
106                                                 const xmlChar *value);
107XMLPUBFUN void XMLCALL         
108                startElement                    (void *ctx,
109                                                 const xmlChar *fullname,
110                                                 const xmlChar **atts);
111XMLPUBFUN void XMLCALL         
112                endElement                      (void *ctx,
113                                                 const xmlChar *name);
114XMLPUBFUN void XMLCALL         
115                reference                       (void *ctx,
116                                                 const xmlChar *name);
117XMLPUBFUN void XMLCALL         
118                characters                      (void *ctx,
119                                                 const xmlChar *ch,
120                                                 int len);
121XMLPUBFUN void XMLCALL         
122                ignorableWhitespace             (void *ctx,
123                                                 const xmlChar *ch,
124                                                 int len);
125XMLPUBFUN void XMLCALL         
126                processingInstruction           (void *ctx,
127                                                 const xmlChar *target,
128                                                 const xmlChar *data);
129XMLPUBFUN void XMLCALL         
130                globalNamespace                 (void *ctx,
131                                                 const xmlChar *href,
132                                                 const xmlChar *prefix);
133XMLPUBFUN void XMLCALL         
134                setNamespace                    (void *ctx,
135                                                 const xmlChar *name);
136XMLPUBFUN xmlNsPtr XMLCALL     
137                getNamespace                    (void *ctx);
138XMLPUBFUN int XMLCALL           
139                checkNamespace                  (void *ctx,
140                                                 xmlChar *nameSpace);
141XMLPUBFUN void XMLCALL         
142                namespaceDecl                   (void *ctx,
143                                                 const xmlChar *href,
144                                                 const xmlChar *prefix);
145XMLPUBFUN void XMLCALL         
146                comment                         (void *ctx,
147                                                 const xmlChar *value);
148XMLPUBFUN void XMLCALL         
149                cdataBlock                      (void *ctx,
150                                                 const xmlChar *value,
151                                                 int len);
152
153#ifdef LIBXML_SAX1_ENABLED
154XMLPUBFUN void XMLCALL         
155                initxmlDefaultSAXHandler        (xmlSAXHandlerV1 *hdlr,
156                                                 int warning);
157#ifdef LIBXML_HTML_ENABLED
158XMLPUBFUN void XMLCALL         
159                inithtmlDefaultSAXHandler       (xmlSAXHandlerV1 *hdlr);
160#endif
161#ifdef LIBXML_DOCB_ENABLED
162XMLPUBFUN void XMLCALL         
163                initdocbDefaultSAXHandler       (xmlSAXHandlerV1 *hdlr);
164#endif
165#endif /* LIBXML_SAX1_ENABLED */
166
167#ifdef __cplusplus
168}
169#endif
170
171#endif /* LIBXML_LEGACY_ENABLED */
172
173#endif /* __XML_SAX_H__ */
Note: See TracBrowser for help on using the repository browser.