typedef void(* | xmlParserInputDeallocate |
xmlParserInput:
in which case the flow is already completely in memory - or external entities - in which case we use the buf structure for progressive reading and I18N conversions to the internal UTF-8 format. xmlParserInputDeallocate: Callback for freeing some parser input allocations.
typedef struct _xmlParserNodeInfo | xmlParserNodeInfo |
xmlParserNodeInfo:
The parser can be asked to collect Node informations, i.e. at what place in the file they were detected. NOTE: This is off by default and not very well tested.
typedef xmlParserInputPtr (* | resolveEntitySAXFunc |
xmlSAXHandler:
override this resolveEntity() callback in the SAX block
or better use the xmlSetExternalEntityLoader() function to set up it's own entity resolution routine
Returns the xmlParserInputPtr if inlined or NULL for DOM behaviour.
typedef void(* | internalSubsetSAXFunc |
internalSubsetSAXFunc: Callback on internal subset declaration.
typedef void(* | externalSubsetSAXFunc |
externalSubsetSAXFunc: Callback on external subset declaration.
typedef xmlEntityPtr (* | getEntitySAXFunc |
getEntitySAXFunc: Get an entity by name.
Returns the xmlEntityPtr if found.
typedef xmlEntityPtr (* | getParameterEntitySAXFunc |
getParameterEntitySAXFunc: Get a parameter entity by name.
Returns the xmlEntityPtr if found.
typedef void(* | entityDeclSAXFunc |
entityDeclSAXFunc: An entity definition has been parsed.
typedef void(* | notationDeclSAXFunc |
notationDeclSAXFunc: What to do when a notation declaration has been parsed.
typedef void(* | attributeDeclSAXFunc |
attributeDeclSAXFunc: An attribute definition has been parsed.
typedef void(* | elementDeclSAXFunc |
elementDeclSAXFunc: An element definition has been parsed.
typedef void(* | unparsedEntityDeclSAXFunc |
unparsedEntityDeclSAXFunc: What to do when an unparsed entity declaration is parsed.
typedef void(* | setDocumentLocatorSAXFunc |
setDocumentLocatorSAXFunc: Receive the document locator at startup, actually xmlDefaultSAXLocator. Everything is available on the context, so this is useless in our case.
typedef void(* | startDocumentSAXFunc |
startDocumentSAXFunc: Called when the document start being processed.
typedef void(* | endDocumentSAXFunc |
endDocumentSAXFunc: Called when the document end has been detected.
typedef void(* | startElementSAXFunc |
startElementSAXFunc: Called when an opening tag has been processed.
typedef void(* | endElementSAXFunc |
endElementSAXFunc: Called when the end of an element has been detected.
typedef void(* | attributeSAXFunc |
attributeSAXFunc: Handle an attribute that has been read by the parser. The default handling is to convert the attribute into an DOM subtree and past it in a new xmlAttr element added to the element.
typedef void(* | referenceSAXFunc |
referenceSAXFunc: Called when an entity reference is detected.
typedef void(* | charactersSAXFunc |
charactersSAXFunc: Receiving some chars from the parser.
typedef void(* | ignorableWhitespaceSAXFunc |
ignorableWhitespaceSAXFunc: Receiving some ignorable whitespaces from the parser. UNUSED: by default the DOM building will use characters.
typedef void(* | processingInstructionSAXFunc |
processingInstructionSAXFunc: A processing instruction has been parsed.
typedef void(* | cdataBlockSAXFunc |
cdataBlockSAXFunc: Called when a pcdata block has been parsed.
typedef void(* | warningSAXFunc |
warningSAXFunc: Display and format a warning messages, callback.
typedef void(* | errorSAXFunc |
errorSAXFunc: Display and format an error messages, callback.
typedef void(* | fatalErrorSAXFunc |
fatalErrorSAXFunc: Display and format fatal error messages, callback. Note: so far fatalError() SAX callbacks are not used, error() get all the callbacks for errors.
typedef int(* | isStandaloneSAXFunc |
isStandaloneSAXFunc: Is this document tagged standalone?
Returns 1 if true
typedef int(* | hasInternalSubsetSAXFunc |
hasInternalSubsetSAXFunc: Does this document has an internal subset.
Returns 1 if true
typedef int(* | hasExternalSubsetSAXFunc |
hasExternalSubsetSAXFunc: Does this document has an external subset?
Returns 1 if true
typedef void(* | startElementNsSAX2Func |
startElementNsSAX2Func: SAX2 callback when an element start has been detected by the parser. It provides the namespace informations for the element, as well as the new namespace declarations on the element.
typedef void(* | endElementNsSAX2Func |
endElementNsSAX2Func: SAX2 callback when an element end has been detected by the parser. It provides the namespace informations for the element.
typedef void(* | startPrefixMappingSAX2Func |
startPrefixMappingSAX2Func: SAX2 callback when namespace prefix mapping is done.
typedef void(* | endPrefixMappingSAX2Func |
endPrefixMappingSAX2Func: SAX2 callback when namespace prefix mapping is getting out of scope.
typedef xmlParserInputPtr (* | xmlExternalEntityLoader |
xmlExternalEntityLoader: External entity loaders types.
Returns the entity input parser.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.