epoc32/include/stdapis/libxml2/libxml2_sax.h
branchSymbian3
changeset 4 837f303aceeb
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
       
     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  * Portion Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. 
       
    10  */
       
    11 
       
    12 /** @file
       
    13 @publishedAll
       
    14 @released
       
    15 */
       
    16 
       
    17 #ifndef XML_SAX_H
       
    18 #define XML_SAX_H
       
    19 
       
    20 #include <stdapis/libxml2/libxml2_parser.h>
       
    21 
       
    22 #ifdef LIBXML_XPTR_ENABLED
       
    23 #include <stdapis/libxml2/libxml2_xlink.h>
       
    24 #endif
       
    25 
       
    26 #ifdef __cplusplus
       
    27 extern "C" {
       
    28 #endif
       
    29 
       
    30 XMLPUBFUN const xmlChar * XMLCALL
       
    31                 getPublicId                     (void *ctx);
       
    32 XMLPUBFUN const xmlChar * XMLCALL
       
    33                 getSystemId                     (void *ctx);
       
    34 XMLPUBFUN void XMLCALL
       
    35                 setDocumentLocator              (void *ctx,
       
    36                                                  xmlSAXLocatorPtr loc);
       
    37 
       
    38 XMLPUBFUN int XMLCALL
       
    39                 getLineNumber                   (void *ctx);
       
    40 XMLPUBFUN int XMLCALL
       
    41                 getColumnNumber                 (void *ctx);
       
    42 
       
    43 XMLPUBFUN int XMLCALL
       
    44                 isStandalone                    (void *ctx);
       
    45 XMLPUBFUN int XMLCALL
       
    46                 hasInternalSubset               (void *ctx);
       
    47 XMLPUBFUN int XMLCALL
       
    48                 hasExternalSubset               (void *ctx);
       
    49 
       
    50 XMLPUBFUN void XMLCALL
       
    51                 internalSubset                  (void *ctx,
       
    52                                                  const xmlChar *name,
       
    53                                                  const xmlChar *ExternalID,
       
    54                                                  const xmlChar *SystemID);
       
    55 XMLPUBFUN void XMLCALL
       
    56                 externalSubset                  (void *ctx,
       
    57                                                  const xmlChar *name,
       
    58                                                  const xmlChar *ExternalID,
       
    59                                                  const xmlChar *SystemID);
       
    60 XMLPUBFUN xmlEntityPtr XMLCALL
       
    61                 getEntity                       (void *ctx,
       
    62                                                  const xmlChar *name);
       
    63 XMLPUBFUN xmlEntityPtr XMLCALL
       
    64                 getParameterEntity              (void *ctx,
       
    65                                                  const xmlChar *name);
       
    66 XMLPUBFUN xmlParserInputPtr XMLCALL
       
    67                 resolveEntity                   (void *ctx,
       
    68                                                  const xmlChar *publicId,
       
    69                                                  const xmlChar *systemId);
       
    70 
       
    71 XMLPUBFUN void XMLCALL
       
    72                 entityDecl                      (void *ctx,
       
    73                                                  const xmlChar *name,
       
    74                                                  int type,
       
    75                                                  const xmlChar *publicId,
       
    76                                                  const xmlChar *systemId,
       
    77                                                  xmlChar *content);
       
    78 XMLPUBFUN void XMLCALL
       
    79                 attributeDecl                   (void *ctx,
       
    80                                                  const xmlChar *elem,
       
    81                                                  const xmlChar *fullname,
       
    82                                                  int type,
       
    83                                                  int def,
       
    84                                                  const xmlChar *defaultValue,
       
    85                                                  xmlEnumerationPtr tree);
       
    86 XMLPUBFUN void XMLCALL
       
    87                 elementDecl                     (void *ctx,
       
    88                                                  const xmlChar *name,
       
    89                                                  int type,
       
    90                                                  xmlElementContentPtr content);
       
    91 XMLPUBFUN void XMLCALL
       
    92                 notationDecl                    (void *ctx,
       
    93                                                  const xmlChar *name,
       
    94                                                  const xmlChar *publicId,
       
    95                                                  const xmlChar *systemId);
       
    96 XMLPUBFUN void XMLCALL
       
    97                 unparsedEntityDecl              (void *ctx,
       
    98                                                  const xmlChar *name,
       
    99                                                  const xmlChar *publicId,
       
   100                                                  const xmlChar *systemId,
       
   101                                                  const xmlChar *notationName);
       
   102 
       
   103 XMLPUBFUN void XMLCALL
       
   104                 startDocument                   (void *ctx);
       
   105 XMLPUBFUN void XMLCALL
       
   106                 endDocument                     (void *ctx);
       
   107 XMLPUBFUN void XMLCALL
       
   108                 attribute                       (void *ctx,
       
   109                                                  const xmlChar *fullname,
       
   110                                                  const xmlChar *value);
       
   111 XMLPUBFUN void XMLCALL
       
   112                 startElement                    (void *ctx,
       
   113                                                  const xmlChar *fullname,
       
   114                                                  const xmlChar **atts);
       
   115 XMLPUBFUN void XMLCALL
       
   116                 endElement                      (void *ctx,
       
   117                                                  const xmlChar *name);
       
   118 XMLPUBFUN void XMLCALL
       
   119                 reference                       (void *ctx,
       
   120                                                  const xmlChar *name);
       
   121 XMLPUBFUN void XMLCALL
       
   122                 characters                      (void *ctx,
       
   123                                                  const xmlChar *ch,
       
   124                                                  int len);
       
   125 XMLPUBFUN void XMLCALL
       
   126                 ignorableWhitespace             (void *ctx,
       
   127                                                  const xmlChar *ch,
       
   128                                                  int len);
       
   129 XMLPUBFUN void XMLCALL
       
   130                 processingInstruction           (void *ctx,
       
   131                                                  const xmlChar *target,
       
   132                                                  const xmlChar *data);
       
   133 XMLPUBFUN void XMLCALL
       
   134                 globalNamespace                 (void *ctx,
       
   135                                                  const xmlChar *href,
       
   136                                                  const xmlChar *prefix);
       
   137 XMLPUBFUN void XMLCALL
       
   138                 setNamespace                    (void *ctx,
       
   139                                                  const xmlChar *name);
       
   140 XMLPUBFUN xmlNsPtr XMLCALL
       
   141                 getNamespace                    (void *ctx);
       
   142 XMLPUBFUN int XMLCALL
       
   143                 checkNamespace                  (void *ctx,
       
   144                                                  xmlChar *nameSpace);
       
   145 XMLPUBFUN void XMLCALL
       
   146                 namespaceDecl                   (void *ctx,
       
   147                                                  const xmlChar *href,
       
   148                                                  const xmlChar *prefix);
       
   149 XMLPUBFUN void XMLCALL
       
   150                 comment                         (void *ctx,
       
   151                                                  const xmlChar *value);
       
   152 XMLPUBFUN void XMLCALL
       
   153                 cdataBlock                      (void *ctx,
       
   154                                                  const xmlChar *value,
       
   155                                                  int len);
       
   156 
       
   157 XMLPUBFUN void XMLCALL
       
   158                 initxmlDefaultSAXHandler        (xmlSAXHandlerV1 *hdlr,
       
   159                                                  int warning);
       
   160 #ifdef LIBXML_HTML_ENABLED
       
   161 XMLPUBFUN void XMLCALL
       
   162                 inithtmlDefaultSAXHandler       (xmlSAXHandlerV1 *hdlr);
       
   163 #endif
       
   164 #ifdef LIBXML_DOCB_ENABLED
       
   165 XMLPUBFUN void XMLCALL
       
   166                 initdocbDefaultSAXHandler       (xmlSAXHandlerV1 *hdlr);
       
   167 #endif
       
   168 #ifdef __cplusplus
       
   169 }
       
   170 #endif
       
   171 #endif /* XML_SAX_H */
       
   172