Lines Matching full:parser

7                                  |_| XML parser
193 XML_SetElementDeclHandler(XML_Parser parser, XML_ElementDeclHandler eldecl);
208 XML_SetAttlistDeclHandler(XML_Parser parser, XML_AttlistDeclHandler attdecl);
224 XML_SetXmlDeclHandler(XML_Parser parser, XML_XmlDeclHandler xmldecl);
232 /* Constructs a new parser; encoding is the encoding specified by the
238 /* Constructs a new parser and namespace processor. Element type
263 /* Constructs a new parser using the memory management suite referred to
265 suite. If namespaceSeparator is non-NULL it creates a parser with
269 All further memory operations used for the created parser will come from
277 /* Prepare a parser object to be reused. This is particularly
280 All handlers are cleared from the parser, except for the
281 unknownEncodingHandler. The parser's external state is re-initialized
287 XML_ParserReset(XML_Parser parser, const XML_Char *encoding);
370 XML_SetEntityDeclHandler(XML_Parser parser, XML_EntityDeclHandler handler);
412 then processing will not continue, and the parser will return a
425 The parser argument is the parser parsing the entity containing the
426 reference; it can be passed as the parser argument to
448 entity. In this case the calling parser will return an
451 Note that unlike other handlers the first argument is the parser,
454 typedef int(XMLCALL *XML_ExternalEntityRefHandler)(XML_Parser parser,
475 provide information to the parser about encodings that are unknown
476 to the parser.
500 When the parser is finished with the encoding, then if release is
533 /* This is called for an encoding that is unknown to the parser.
545 If info does not describe a suitable encoding, then the parser will
553 XML_SetElementHandler(XML_Parser parser, XML_StartElementHandler start,
557 XML_SetStartElementHandler(XML_Parser parser, XML_StartElementHandler handler);
560 XML_SetEndElementHandler(XML_Parser parser, XML_EndElementHandler handler);
563 XML_SetCharacterDataHandler(XML_Parser parser,
567 XML_SetProcessingInstructionHandler(XML_Parser parser,
570 XML_SetCommentHandler(XML_Parser parser, XML_CommentHandler handler);
573 XML_SetCdataSectionHandler(XML_Parser parser,
578 XML_SetStartCdataSectionHandler(XML_Parser parser,
582 XML_SetEndCdataSectionHandler(XML_Parser parser,
590 XML_SetDefaultHandler(XML_Parser parser, XML_DefaultHandler handler);
597 XML_SetDefaultHandlerExpand(XML_Parser parser, XML_DefaultHandler handler);
600 XML_SetDoctypeDeclHandler(XML_Parser parser, XML_StartDoctypeDeclHandler start,
604 XML_SetStartDoctypeDeclHandler(XML_Parser parser,
608 XML_SetEndDoctypeDeclHandler(XML_Parser parser, XML_EndDoctypeDeclHandler end);
611 XML_SetUnparsedEntityDeclHandler(XML_Parser parser,
615 XML_SetNotationDeclHandler(XML_Parser parser, XML_NotationDeclHandler handler);
618 XML_SetNamespaceDeclHandler(XML_Parser parser,
623 XML_SetStartNamespaceDeclHandler(XML_Parser parser,
627 XML_SetEndNamespaceDeclHandler(XML_Parser parser,
631 XML_SetNotStandaloneHandler(XML_Parser parser,
635 XML_SetExternalEntityRefHandler(XML_Parser parser,
640 instead of the parser object.
643 XML_SetExternalEntityRefHandlerArg(XML_Parser parser, void *arg);
646 XML_SetSkippedEntityHandler(XML_Parser parser,
650 XML_SetUnknownEncodingHandler(XML_Parser parser,
659 XML_DefaultCurrent(XML_Parser parser);
664 the separator character specified when the parser was created: URI
676 XML_SetReturnNSTriplet(XML_Parser parser, int do_nst);
680 XML_SetUserData(XML_Parser parser, void *userData);
683 #define XML_GetUserData(parser) (*(void **)(parser))
692 XML_SetEncoding(XML_Parser parser, const XML_Char *encoding);
694 /* If this function is called, then the parser will be passed as the
699 XML_UseParserAsHandlerArg(XML_Parser parser);
701 /* If useDTD == XML_TRUE is passed to this function, then the parser
703 specified in the document. In such a case the parser will call the
707 useDTD == XML_TRUE will make the parser behave as if the document
718 Note: If parser == NULL, returns XML_ERROR_INVALID_ARGUMENT.
721 XML_UseForeignDTD(XML_Parser parser, XML_Bool useDTD);
732 XML_SetBase(XML_Parser parser, const XML_Char *base);
735 XML_GetBase(XML_Parser parser);
741 XML_StartElementHandler. Returns -1 if parser == NULL.
744 XML_GetSpecifiedAttributeCount(XML_Parser parser);
748 parser == NULL. Each attribute/value pair counts as 2; thus this
753 XML_GetIdAttributeIndex(XML_Parser parser);
772 XML_GetSpecifiedAttributeCount(parser) / 2.
775 XML_GetAttributeInfo(XML_Parser parser);
788 XML_Parse(XML_Parser parser, const char *s, int len, int isFinal);
791 XML_GetBuffer(XML_Parser parser, int len);
794 XML_ParseBuffer(XML_Parser parser, int len, int isFinal);
798 (resumable = 0) an already suspended parser. Some call-backs may
809 - XML_ERROR_SUSPENDED: when suspending an already suspended parser.
810 - XML_ERROR_FINISHED: when the parser has already finished.
819 This will be applied to the current parser instance only, that is, if
820 there is a parent parser then it will continue parsing when the
823 parser (recursively), if one wants to stop parsing altogether.
828 XML_StopParser(XML_Parser parser, XML_Bool resumable);
836 This must be called on the most deeply nested child parser instance
837 first, and on its parent parser only after the child parser has finished,
838 to be applied recursively until the document entity's parser is restarted.
839 That is, the parent parser will not resume by itself and it is up to the
843 XML_ResumeParser(XML_Parser parser);
852 /* Returns status of parser with respect to being initialized, parsing,
858 XML_GetParsingStatus(XML_Parser parser, XML_ParsingStatus *status);
870 an ExternalEntityRefHandler so longer as the parser has not yet
871 been freed. The new parser is completely independent and may
873 initialized from the parser argument. Returns NULL if out of memory.
877 XML_ExternalEntityParserCreate(XML_Parser parser, const XML_Char *context,
898 XML_ExternalEntityParserCreate has been called to create the parser
900 call), it is illegal to make any calls on the old parser until
901 XML_ParserFree has been called on the newly created parser.
908 Note: If parser == NULL, the function will do nothing and return 0.
911 XML_SetParamEntityParsing(XML_Parser parser,
918 Note: If parser == NULL, the function will do nothing and return 0.
921 XML_SetHashSalt(XML_Parser parser, unsigned long hash_salt);
927 XML_GetErrorCode(XML_Parser parser);
949 XMLPARSEAPI(XML_Size) XML_GetCurrentLineNumber(XML_Parser parser);
950 XMLPARSEAPI(XML_Size) XML_GetCurrentColumnNumber(XML_Parser parser);
951 XMLPARSEAPI(XML_Index) XML_GetCurrentByteIndex(XML_Parser parser);
957 XML_GetCurrentByteCount(XML_Parser parser);
970 XML_GetInputContext(XML_Parser parser, int *offset, int *size);
979 XML_FreeContentModel(XML_Parser parser, XML_Content *model);
985 XML_MemMalloc(XML_Parser parser, size_t size);
989 XML_MemRealloc(XML_Parser parser, void *ptr, size_t size);
992 XML_MemFree(XML_Parser parser, void *ptr);
994 /* Frees memory used by the parser. */
996 XML_ParserFree(XML_Parser parser);
1053 XML_Parser parser, float maximumAmplificationFactor);
1059 XML_Parser parser, unsigned long long activationThresholdBytes);
1064 XML_SetReparseDeferralEnabled(XML_Parser parser, XML_Bool enabled);