Lines Matching defs:hdlr

2829  * @hdlr:  the SAX handler
2837 xmlSAXVersion(xmlSAXHandler *hdlr, int version)
2839 if (hdlr == NULL) return(-1);
2841 hdlr->startElement = NULL;
2842 hdlr->endElement = NULL;
2843 hdlr->startElementNs = xmlSAX2StartElementNs;
2844 hdlr->endElementNs = xmlSAX2EndElementNs;
2845 hdlr->serror = NULL;
2846 hdlr->initialized = XML_SAX2_MAGIC;
2849 hdlr->startElement = xmlSAX2StartElement;
2850 hdlr->endElement = xmlSAX2EndElement;
2851 hdlr->initialized = 1;
2855 hdlr->internalSubset = xmlSAX2InternalSubset;
2856 hdlr->externalSubset = xmlSAX2ExternalSubset;
2857 hdlr->isStandalone = xmlSAX2IsStandalone;
2858 hdlr->hasInternalSubset = xmlSAX2HasInternalSubset;
2859 hdlr->hasExternalSubset = xmlSAX2HasExternalSubset;
2860 hdlr->resolveEntity = xmlSAX2ResolveEntity;
2861 hdlr->getEntity = xmlSAX2GetEntity;
2862 hdlr->getParameterEntity = xmlSAX2GetParameterEntity;
2863 hdlr->entityDecl = xmlSAX2EntityDecl;
2864 hdlr->attributeDecl = xmlSAX2AttributeDecl;
2865 hdlr->elementDecl = xmlSAX2ElementDecl;
2866 hdlr->notationDecl = xmlSAX2NotationDecl;
2867 hdlr->unparsedEntityDecl = xmlSAX2UnparsedEntityDecl;
2868 hdlr->setDocumentLocator = xmlSAX2SetDocumentLocator;
2869 hdlr->startDocument = xmlSAX2StartDocument;
2870 hdlr->endDocument = xmlSAX2EndDocument;
2871 hdlr->reference = xmlSAX2Reference;
2872 hdlr->characters = xmlSAX2Characters;
2873 hdlr->cdataBlock = xmlSAX2CDataBlock;
2874 hdlr->ignorableWhitespace = xmlSAX2Characters;
2875 hdlr->processingInstruction = xmlSAX2ProcessingInstruction;
2876 hdlr->comment = xmlSAX2Comment;
2877 hdlr->warning = xmlParserWarning;
2878 hdlr->error = xmlParserError;
2879 hdlr->fatalError = xmlParserError;
2886 * @hdlr: the SAX handler
2892 xmlSAX2InitDefaultSAXHandler(xmlSAXHandler *hdlr, int warning)
2894 if ((hdlr == NULL) || (hdlr->initialized != 0))
2897 xmlSAXVersion(hdlr, xmlSAX2DefaultVersionValue);
2899 hdlr->warning = NULL;
2901 hdlr->warning = xmlParserWarning;
2921 * @hdlr: the SAX handler
2926 xmlSAX2InitHtmlDefaultSAXHandler(xmlSAXHandler *hdlr)
2928 if ((hdlr == NULL) || (hdlr->initialized != 0))
2931 hdlr->internalSubset = xmlSAX2InternalSubset;
2932 hdlr->externalSubset = NULL;
2933 hdlr->isStandalone = NULL;
2934 hdlr->hasInternalSubset = NULL;
2935 hdlr->hasExternalSubset = NULL;
2936 hdlr->resolveEntity = NULL;
2937 hdlr->getEntity = xmlSAX2GetEntity;
2938 hdlr->getParameterEntity = NULL;
2939 hdlr->entityDecl = NULL;
2940 hdlr->attributeDecl = NULL;
2941 hdlr->elementDecl = NULL;
2942 hdlr->notationDecl = NULL;
2943 hdlr->unparsedEntityDecl = NULL;
2944 hdlr->setDocumentLocator = xmlSAX2SetDocumentLocator;
2945 hdlr->startDocument = xmlSAX2StartDocument;
2946 hdlr->endDocument = xmlSAX2EndDocument;
2947 hdlr->startElement = xmlSAX2StartElement;
2948 hdlr->endElement = xmlSAX2EndElement;
2949 hdlr->reference = NULL;
2950 hdlr->characters = xmlSAX2Characters;
2951 hdlr->cdataBlock = xmlSAX2CDataBlock;
2952 hdlr->ignorableWhitespace = xmlSAX2IgnorableWhitespace;
2953 hdlr->processingInstruction = xmlSAX2ProcessingInstruction;
2954 hdlr->comment = xmlSAX2Comment;
2955 hdlr->warning = xmlParserWarning;
2956 hdlr->error = xmlParserError;
2957 hdlr->fatalError = xmlParserError;
2959 hdlr->initialized = 1;
2979 * @hdlr: the SAX handler
2984 xmlSAX2InitDocbDefaultSAXHandler(xmlSAXHandler *hdlr)
2986 if ((hdlr == NULL) || (hdlr->initialized != 0))
2989 hdlr->internalSubset = xmlSAX2InternalSubset;
2990 hdlr->externalSubset = NULL;
2991 hdlr->isStandalone = xmlSAX2IsStandalone;
2992 hdlr->hasInternalSubset = xmlSAX2HasInternalSubset;
2993 hdlr->hasExternalSubset = xmlSAX2HasExternalSubset;
2994 hdlr->resolveEntity = xmlSAX2ResolveEntity;
2995 hdlr->getEntity = xmlSAX2GetEntity;
2996 hdlr->getParameterEntity = NULL;
2997 hdlr->entityDecl = xmlSAX2EntityDecl;
2998 hdlr->attributeDecl = NULL;
2999 hdlr->elementDecl = NULL;
3000 hdlr->notationDecl = NULL;
3001 hdlr->unparsedEntityDecl = NULL;
3002 hdlr->setDocumentLocator = xmlSAX2SetDocumentLocator;
3003 hdlr->startDocument = xmlSAX2StartDocument;
3004 hdlr->endDocument = xmlSAX2EndDocument;
3005 hdlr->startElement = xmlSAX2StartElement;
3006 hdlr->endElement = xmlSAX2EndElement;
3007 hdlr->reference = xmlSAX2Reference;
3008 hdlr->characters = xmlSAX2Characters;
3009 hdlr->cdataBlock = NULL;
3010 hdlr->ignorableWhitespace = xmlSAX2IgnorableWhitespace;
3011 hdlr->processingInstruction = NULL;
3012 hdlr->comment = xmlSAX2Comment;
3013 hdlr->warning = xmlParserWarning;
3014 hdlr->error = xmlParserError;
3015 hdlr->fatalError = xmlParserError;
3017 hdlr->initialized = 1;