#include "contenthandler.h"
Functions | |
void | xmlcpgsetCharDataContentHandler (xmlcpgcharDataContentHandler handler) |
Sets the charData content handler. | |
void | xmlcpgcallCharDataContentHandler (const char *ch, int start, int length) |
Receive notification of character data. | |
void | xmlcpgsetDocumentContentHandler (xmlcpgstartDocumentContentHandler start, xmlcpgendDocumentContentHandler end) |
Sets the document content handlers. | |
void | xmlcpgcallStartDocumentContentHandler () |
Receive notification of the beginning of a document. | |
void | xmlcpgcallEndDocumentContentHandler () |
Receive notification of the end of a document. | |
void | xmlcpgsetElementContentHandler (xmlcpgstartElementContentHandler start, xmlcpgendElementContentHandler end) |
Sets the element content handlers. | |
void | xmlcpgcallStartElementContentHandler (const char *uri, const char *localName, const char *qName, xmlcpgList *atts) |
Receive notification of the beginning of an element. | |
void | xmlcpgcallEndElementContentHandler (const char *uri, const char *localName, const char *qName) |
Receive notification of the end of an element. | |
Variables | |
xmlcpgcharDataContentHandler | charData = NULL |
xmlcpgstartDocumentContentHandler | startDocument = NULL |
xmlcpgendDocumentContentHandler | endDocument = NULL |
xmlcpgstartElementContentHandler | startElement = NULL |
xmlcpgendElementContentHandler | endElement = NULL |
|
Receive notification of character data. The application must not attempt to read from the array outside of the specified range.
|
|
Receive notification of the end of a document. The parser will invoke this method only once, and it will be the last method invoked during the parse. The parser shall not invoke this method until it has either abandoned parsing (because of an unrecoverable error) or reached the end of input. |
|
Receive notification of the end of an element. The parser will invoke this method at the end of every element in the XML document; there will be a corresponding xmlcpgstartElementContentHandler event for every xmlcpgendElementContentHandler event (even when the element is empty). For information on the names, see xmlcpgstartElementContentHandler.
|
|
Receive notification of the beginning of a document. The parser will invoke this method only once, before any other event callbacks (except for setDocumentLocator). |
|
Receive notification of the beginning of an element. The Parser will invoke this method at the beginning of every element in the XML document; there will be a corresponding xmlcpgendElementContentHandler event for every xmlcpgstartElementContentHandler event (even when the element is empty). All of the element's content will be reported, in order, before the corresponding xmlcpgendElementContentHandler event. This event allows up to three name components for each element: 1. the Namespace URI; 2. the local name; and 3. the qualified (prefixed) name. The Namespace URI and local name are required when the namespaces property is true (the default), and are optional when the namespaces property is false (if one is specified, both must be); the qualified name is required when the namespace-prefixes property is true, and is optional when the namespace-prefixes property is false (the default).
|
|
Sets the charData content handler.
|
|
Sets the document content handlers.
|
|
Sets the element content handlers.
|
|
|
|
|
|
|
|
|
|
|