Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-22 10:41:50

0001 /*
0002  * Summary: Old SAX version 1 handler, deprecated
0003  * Description: DEPRECATED set of SAX version 1 interfaces used to
0004  *              build the DOM tree.
0005  *
0006  * Copy: See Copyright for the status of this software.
0007  *
0008  * Author: Daniel Veillard
0009  */
0010 
0011 
0012 #ifndef __XML_SAX_H__
0013 #define __XML_SAX_H__
0014 
0015 #include <libxml/xmlversion.h>
0016 #include <libxml/parser.h>
0017 
0018 #ifdef LIBXML_LEGACY_ENABLED
0019 
0020 #ifdef __cplusplus
0021 extern "C" {
0022 #endif
0023 XML_DEPRECATED
0024 XMLPUBFUN const xmlChar *
0025         getPublicId         (void *ctx);
0026 XML_DEPRECATED
0027 XMLPUBFUN const xmlChar *
0028         getSystemId         (void *ctx);
0029 XML_DEPRECATED
0030 XMLPUBFUN void
0031         setDocumentLocator      (void *ctx,
0032                          xmlSAXLocatorPtr loc);
0033 
0034 XML_DEPRECATED
0035 XMLPUBFUN int
0036         getLineNumber           (void *ctx);
0037 XML_DEPRECATED
0038 XMLPUBFUN int
0039         getColumnNumber         (void *ctx);
0040 
0041 XML_DEPRECATED
0042 XMLPUBFUN int
0043         isStandalone            (void *ctx);
0044 XML_DEPRECATED
0045 XMLPUBFUN int
0046         hasInternalSubset       (void *ctx);
0047 XML_DEPRECATED
0048 XMLPUBFUN int
0049         hasExternalSubset       (void *ctx);
0050 
0051 XML_DEPRECATED
0052 XMLPUBFUN void
0053         internalSubset          (void *ctx,
0054                          const xmlChar *name,
0055                          const xmlChar *ExternalID,
0056                          const xmlChar *SystemID);
0057 XML_DEPRECATED
0058 XMLPUBFUN void
0059         externalSubset          (void *ctx,
0060                          const xmlChar *name,
0061                          const xmlChar *ExternalID,
0062                          const xmlChar *SystemID);
0063 XML_DEPRECATED
0064 XMLPUBFUN xmlEntityPtr
0065         getEntity           (void *ctx,
0066                          const xmlChar *name);
0067 XML_DEPRECATED
0068 XMLPUBFUN xmlEntityPtr
0069         getParameterEntity      (void *ctx,
0070                          const xmlChar *name);
0071 XML_DEPRECATED
0072 XMLPUBFUN xmlParserInputPtr
0073         resolveEntity           (void *ctx,
0074                          const xmlChar *publicId,
0075                          const xmlChar *systemId);
0076 
0077 XML_DEPRECATED
0078 XMLPUBFUN void
0079         entityDecl          (void *ctx,
0080                          const xmlChar *name,
0081                          int type,
0082                          const xmlChar *publicId,
0083                          const xmlChar *systemId,
0084                          xmlChar *content);
0085 XML_DEPRECATED
0086 XMLPUBFUN void
0087         attributeDecl           (void *ctx,
0088                          const xmlChar *elem,
0089                          const xmlChar *fullname,
0090                          int type,
0091                          int def,
0092                          const xmlChar *defaultValue,
0093                          xmlEnumerationPtr tree);
0094 XML_DEPRECATED
0095 XMLPUBFUN void
0096         elementDecl         (void *ctx,
0097                          const xmlChar *name,
0098                          int type,
0099                          xmlElementContentPtr content);
0100 XML_DEPRECATED
0101 XMLPUBFUN void
0102         notationDecl            (void *ctx,
0103                          const xmlChar *name,
0104                          const xmlChar *publicId,
0105                          const xmlChar *systemId);
0106 XML_DEPRECATED
0107 XMLPUBFUN void
0108         unparsedEntityDecl      (void *ctx,
0109                          const xmlChar *name,
0110                          const xmlChar *publicId,
0111                          const xmlChar *systemId,
0112                          const xmlChar *notationName);
0113 
0114 XML_DEPRECATED
0115 XMLPUBFUN void
0116         startDocument           (void *ctx);
0117 XML_DEPRECATED
0118 XMLPUBFUN void
0119         endDocument         (void *ctx);
0120 XML_DEPRECATED
0121 XMLPUBFUN void
0122         attribute           (void *ctx,
0123                          const xmlChar *fullname,
0124                          const xmlChar *value);
0125 XML_DEPRECATED
0126 XMLPUBFUN void
0127         startElement            (void *ctx,
0128                          const xmlChar *fullname,
0129                          const xmlChar **atts);
0130 XML_DEPRECATED
0131 XMLPUBFUN void
0132         endElement          (void *ctx,
0133                          const xmlChar *name);
0134 XML_DEPRECATED
0135 XMLPUBFUN void
0136         reference           (void *ctx,
0137                          const xmlChar *name);
0138 XML_DEPRECATED
0139 XMLPUBFUN void
0140         characters          (void *ctx,
0141                          const xmlChar *ch,
0142                          int len);
0143 XML_DEPRECATED
0144 XMLPUBFUN void
0145         ignorableWhitespace     (void *ctx,
0146                          const xmlChar *ch,
0147                          int len);
0148 XML_DEPRECATED
0149 XMLPUBFUN void
0150         processingInstruction       (void *ctx,
0151                          const xmlChar *target,
0152                          const xmlChar *data);
0153 XML_DEPRECATED
0154 XMLPUBFUN void
0155         globalNamespace         (void *ctx,
0156                          const xmlChar *href,
0157                          const xmlChar *prefix);
0158 XML_DEPRECATED
0159 XMLPUBFUN void
0160         setNamespace            (void *ctx,
0161                          const xmlChar *name);
0162 XML_DEPRECATED
0163 XMLPUBFUN xmlNsPtr
0164         getNamespace            (void *ctx);
0165 XML_DEPRECATED
0166 XMLPUBFUN int
0167         checkNamespace          (void *ctx,
0168                          xmlChar *nameSpace);
0169 XML_DEPRECATED
0170 XMLPUBFUN void
0171         namespaceDecl           (void *ctx,
0172                          const xmlChar *href,
0173                          const xmlChar *prefix);
0174 XML_DEPRECATED
0175 XMLPUBFUN void
0176         comment             (void *ctx,
0177                          const xmlChar *value);
0178 XML_DEPRECATED
0179 XMLPUBFUN void
0180         cdataBlock          (void *ctx,
0181                          const xmlChar *value,
0182                          int len);
0183 
0184 #ifdef LIBXML_SAX1_ENABLED
0185 XML_DEPRECATED
0186 XMLPUBFUN void
0187         initxmlDefaultSAXHandler    (xmlSAXHandlerV1 *hdlr,
0188                          int warning);
0189 #ifdef LIBXML_HTML_ENABLED
0190 XML_DEPRECATED
0191 XMLPUBFUN void
0192         inithtmlDefaultSAXHandler   (xmlSAXHandlerV1 *hdlr);
0193 #endif
0194 #endif /* LIBXML_SAX1_ENABLED */
0195 
0196 #ifdef __cplusplus
0197 }
0198 #endif
0199 
0200 #endif /* LIBXML_LEGACY_ENABLED */
0201 
0202 #endif /* __XML_SAX_H__ */