/* * Summary: SAX2 parser interface used to build the DOM tree * Description: those are the default SAX2 interfaces used by * the library when building DOM tree. * * Copy: See Copyright for the status of this software. * * Author: Daniel Veillard */ #ifndef __XML_SAX2_H__ #define __XML_SAX2_H__ #include <stdio.h> #include <stdlib.h> #include <libxml/xmlversion.h> #include <libxml/parser.h> #include <libxml/xlink.h> #ifdef __cplusplus extern "C" { #endif XMLPUBFUN const xmlChar * XMLCALL xmlSAX2GetPublicId (void *ctx); XMLPUBFUN const xmlChar * XMLCALL xmlSAX2GetSystemId (void *ctx); XMLPUBFUN void XMLCALL xmlSAX2SetDocumentLocator (void *ctx, xmlSAXLocatorPtr loc); XMLPUBFUN int XMLCALL xmlSAX2GetLineNumber (void *ctx); XMLPUBFUN int XMLCALL xmlSAX2GetColumnNumber (void *ctx); XMLPUBFUN int XMLCALL xmlSAX2IsStandalone (void *ctx); XMLPUBFUN int XMLCALL xmlSAX2HasInternalSubset (void *ctx); XMLPUBFUN int XMLCALL xmlSAX2HasExternalSubset (void *ctx); XMLPUBFUN void XMLCALL xmlSAX2InternalSubset (void *ctx, const xmlChar *name, const xmlChar *ExternalID, const xmlChar *SystemID); XMLPUBFUN void XMLCALL xmlSAX2ExternalSubset (void *ctx, const xmlChar *name, const xmlChar *ExternalID, const xmlChar *SystemID); XMLPUBFUN xmlEntityPtr XMLCALL xmlSAX2GetEntity (void *ctx, const xmlChar *name); XMLPUBFUN xmlEntityPtr XMLCALL xmlSAX2GetParameterEntity (void *ctx, const xmlChar *name); XMLPUBFUN xmlParserInputPtr XMLCALL xmlSAX2ResolveEntity (void *ctx, const xmlChar *publicId, const xmlChar *systemId); XMLPUBFUN void XMLCALL xmlSAX2EntityDecl (void *ctx, const xmlChar *name, int type, const xmlChar *publicId, const xmlChar *systemId, xmlChar *content); XMLPUBFUN void XMLCALL xmlSAX2AttributeDecl (void *ctx, const xmlChar *elem, const xmlChar *fullname, int type, int def, const xmlChar *defaultValue, xmlEnumerationPtr tree); XMLPUBFUN void XMLCALL xmlSAX2ElementDecl (void *ctx, const xmlChar *name, int type, xmlElementContentPtr content); XMLPUBFUN void XMLCALL xmlSAX2NotationDecl (void *ctx, const xmlChar *name, const xmlChar *publicId, const xmlChar *systemId); XMLPUBFUN void XMLCALL xmlSAX2UnparsedEntityDecl (void *ctx, const xmlChar *name, const xmlChar *publicId, const xmlChar *systemId, const xmlChar *notationName); XMLPUBFUN void XMLCALL xmlSAX2StartDocument (void *ctx); XMLPUBFUN void XMLCALL xmlSAX2EndDocument (void *ctx); #if defined(LIBXML_SAX1_ENABLED) || defined(LIBXML_HTML_ENABLED) || defined(LIBXML_WRITER_ENABLED) || defined(LIBXML_DOCB_ENABLED) XMLPUBFUN void XMLCALL xmlSAX2StartElement (void *ctx, const xmlChar *fullname, const xmlChar **atts); XMLPUBFUN void XMLCALL xmlSAX2EndElement (void *ctx, const xmlChar *name); #endif /* LIBXML_SAX1_ENABLED or LIBXML_HTML_ENABLED */ XMLPUBFUN void XMLCALL xmlSAX2StartElementNs (void *ctx, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI, int nb_namespaces, const xmlChar **namespaces, int nb_attributes, int nb_defaulted, const xmlChar **attributes); XMLPUBFUN void XMLCALL xmlSAX2EndElementNs (void *ctx, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI); XMLPUBFUN void XMLCALL xmlSAX2Reference (void *ctx, const xmlChar *name); XMLPUBFUN void XMLCALL xmlSAX2Characters (void *ctx, const xmlChar *ch, int len); XMLPUBFUN void XMLCALL xmlSAX2IgnorableWhitespace (void *ctx, const xmlChar *ch, int len); XMLPUBFUN void XMLCALL xmlSAX2ProcessingInstruction (void *ctx, const xmlChar *target, const xmlChar *data); XMLPUBFUN void XMLCALL xmlSAX2Comment (void *ctx, const xmlChar *value); XMLPUBFUN void XMLCALL xmlSAX2CDataBlock (void *ctx, const xmlChar *value, int len); #ifdef LIBXML_SAX1_ENABLED XMLPUBFUN int XMLCALL xmlSAXDefaultVersion (int version); #endif /* LIBXML_SAX1_ENABLED */ XMLPUBFUN int XMLCALL xmlSAXVersion (xmlSAXHandler *hdlr, int version); XMLPUBFUN void XMLCALL xmlSAX2InitDefaultSAXHandler (xmlSAXHandler *hdlr, int warning); #ifdef LIBXML_HTML_ENABLED XMLPUBFUN void XMLCALL xmlSAX2InitHtmlDefaultSAXHandler(xmlSAXHandler *hdlr); XMLPUBFUN void XMLCALL htmlDefaultSAXHandlerInit (void); #endif #ifdef LIBXML_DOCB_ENABLED XMLPUBFUN void XMLCALL xmlSAX2InitDocbDefaultSAXHandler(xmlSAXHandler *hdlr); XMLPUBFUN void XMLCALL docbDefaultSAXHandlerInit (void); #endif XMLPUBFUN void XMLCALL xmlDefaultSAXHandlerInit (void); #ifdef __cplusplus } #endif #endif /* __XML_SAX2_H__ */
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
DOCBparser.h | File | 3.08 KB | 0644 |
|
HTMLparser.h | File | 9.18 KB | 0644 |
|
HTMLtree.h | File | 3.56 KB | 0644 |
|
SAX.h | File | 4.24 KB | 0644 |
|
SAX2.h | File | 4.76 KB | 0644 |
|
c14n.h | File | 3.04 KB | 0644 |
|
catalog.h | File | 4.79 KB | 0644 |
|
chvalid.h | File | 5.04 KB | 0644 |
|
debugXML.h | File | 5.03 KB | 0644 |
|
dict.h | File | 1.8 KB | 0644 |
|
encoding.h | File | 8.11 KB | 0644 |
|
entities.h | File | 4.59 KB | 0644 |
|
globals.h | File | 14.31 KB | 0644 |
|
hash.h | File | 6.34 KB | 0644 |
|
list.h | File | 3.29 KB | 0644 |
|
nanoftp.h | File | 3.67 KB | 0644 |
|
nanohttp.h | File | 1.96 KB | 0644 |
|
parser.h | File | 38.79 KB | 0644 |
|
parserInternals.h | File | 17.01 KB | 0644 |
|
pattern.h | File | 2.53 KB | 0644 |
|
relaxng.h | File | 5.82 KB | 0644 |
|
schemasInternals.h | File | 25.41 KB | 0644 |
|
schematron.h | File | 4.27 KB | 0644 |
|
threads.h | File | 1.81 KB | 0644 |
|
tree.h | File | 37.03 KB | 0644 |
|
uri.h | File | 2.6 KB | 0644 |
|
valid.h | File | 13.3 KB | 0644 |
|
xinclude.h | File | 2.9 KB | 0644 |
|
xlink.h | File | 4.92 KB | 0644 |
|
xmlIO.h | File | 10.37 KB | 0644 |
|
xmlautomata.h | File | 3.86 KB | 0644 |
|
xmlerror.h | File | 35.96 KB | 0644 |
|
xmlexports.h | File | 3.83 KB | 0644 |
|
xmlmemory.h | File | 5.81 KB | 0644 |
|
xmlmodule.h | File | 1.14 KB | 0644 |
|
xmlreader.h | File | 12.31 KB | 0644 |
|
xmlregexp.h | File | 5.33 KB | 0644 |
|
xmlsave.h | File | 2.28 KB | 0644 |
|
xmlschemas.h | File | 6.9 KB | 0644 |
|
xmlschemastypes.h | File | 4.73 KB | 0644 |
|
xmlstring.h | File | 5.38 KB | 0644 |
|
xmlunicode.h | File | 9.76 KB | 0644 |
|
xmlversion.h | File | 7.93 KB | 0644 |
|
xmlwriter.h | File | 20.77 KB | 0644 |
|
xpath.h | File | 16.01 KB | 0644 |
|
xpathInternals.h | File | 18.9 KB | 0644 |
|
xpointer.h | File | 3.28 KB | 0644 |
|