A default content handler class implementing the SAX2_ContentHandler and SAX2_LexicalHandler interfaces with all functions being implemented and doing nothing. More...
#include <zorba/default_content_handler.h>
Public Member Functions | |
void | attributeDecl (const String &eName, const String &aName, const String &type, const String &mode, const String &value) |
void | characters (const String &text) |
Receive notification of character data. More... | |
void | comment (const String &chars) |
void | elementDecl (const String &name, const String &model) |
void | endCDATA () |
void | endDocument () |
Receive notification of the end of a document. More... | |
void | endDTD () |
void | endElement (const String &uri, const String &localname, const String &qname) |
Receive notification of the end of an element. More... | |
void | endEntity (const String &name) |
void | endPrefixMapping (const String &prefix) |
Receive notification of the end of an namespace prefix mapping. More... | |
void | externalEntityDecl (const String &name, const String &publicId, const String &systemId) |
void | ignorableWhitespace (const String &whitespace) |
Receive notification of ignorable whitespace in element content. More... | |
void | internalEntityDecl (const String &name, const String &value) |
void | notationDecl (const String &name, const String &publicId, const String &systemId) |
void | processingInstruction (const String &target, const String &data) |
Receive notification of a processing instruction. More... | |
void | resetDocType () |
void | skippedEntity (const String &name) |
Receive notification of a skipped entity. More... | |
void | startCDATA () |
void | startDocument () |
Receive notification of the beginning of a document. More... | |
void | startDTD (const String &name, const String &publicId, const String &systemId) |
void | startElement (const String &uri, const String &localname, const String &qname, const SAX2_Attributes &aAttrs) |
Receive notification of the beginning of an element. More... | |
void | startEntity (const String &name) |
void | startPrefixMapping (const String &prefix, const String &uri) |
Receive notification of the start of an namespace prefix mapping. More... | |
void | unparsedEntityDecl (const String &name, const String &publicId, const String &systemId, const String ¬ationName) |
virtual | ~DefaultContentHandler () |
A default content handler class implementing the SAX2_ContentHandler and SAX2_LexicalHandler interfaces with all functions being implemented and doing nothing.
See SAX2_ContentHandler for a documentation.
Definition at line 31 of file default_content_handler.h.
|
inlinevirtual |
Definition at line 36 of file default_content_handler.h.
|
inline |
Definition at line 71 of file default_content_handler.h.
|
inlinevirtual |
Receive notification of character data.
The serializer will call this method to report each chunk of character data.
aText | the characters from the serialized result. |
Implements zorba::SAX2_ContentHandler.
Definition at line 52 of file default_content_handler.h.
|
inlinevirtual |
Implements zorba::SAX2_LexicalHandler.
Definition at line 87 of file default_content_handler.h.
Definition at line 69 of file default_content_handler.h.
|
inlinevirtual |
Implements zorba::SAX2_LexicalHandler.
Definition at line 89 of file default_content_handler.h.
|
inlinevirtual |
Receive notification of the end of a document.
Implements zorba::SAX2_ContentHandler.
Definition at line 42 of file default_content_handler.h.
|
inlinevirtual |
Implements zorba::SAX2_LexicalHandler.
Definition at line 91 of file default_content_handler.h.
|
inlinevirtual |
Receive notification of the end of an element.
Zorba's serializerwill invoke this method at the end of every element in the serialized query result document; there will be a corresponding startElement() event for every endElement() event (even when the element is empty).
aURI | the URI of the asscioated namespace for this element |
aLocalname | the local part of the element name |
aQName | the QName of this element |
Implements zorba::SAX2_ContentHandler.
Definition at line 49 of file default_content_handler.h.
|
inlinevirtual |
Implements zorba::SAX2_LexicalHandler.
Definition at line 93 of file default_content_handler.h.
|
inlinevirtual |
Receive notification of the end of an namespace prefix mapping.
aPrefix | the namespace prefix used. |
Implements zorba::SAX2_ContentHandler.
Definition at line 64 of file default_content_handler.h.
|
inline |
Definition at line 77 of file default_content_handler.h.
|
inlinevirtual |
Receive notification of ignorable whitespace in element content.
aText | the characters from the serialized query result. |
Implements zorba::SAX2_ContentHandler.
Definition at line 58 of file default_content_handler.h.
|
inline |
Definition at line 75 of file default_content_handler.h.
|
inline |
Definition at line 80 of file default_content_handler.h.
|
inlinevirtual |
Receive notification of a processing instruction.
The serializer will invoke this method once for each processing instruction found.
aTarget | the processing instruction target. |
aData | the processing instruction data, or null if none was supplied. |
Implements zorba::SAX2_ContentHandler.
Definition at line 55 of file default_content_handler.h.
|
inline |
Definition at line 85 of file default_content_handler.h.
|
inlinevirtual |
Receive notification of a skipped entity.
aName | the name of the skipped entity. |
Implements zorba::SAX2_ContentHandler.
Definition at line 67 of file default_content_handler.h.
|
inlinevirtual |
Implements zorba::SAX2_LexicalHandler.
Definition at line 95 of file default_content_handler.h.
|
inlinevirtual |
Receive notification of the beginning of a document.
Implements zorba::SAX2_ContentHandler.
Definition at line 39 of file default_content_handler.h.
|
inlinevirtual |
Implements zorba::SAX2_LexicalHandler.
Definition at line 97 of file default_content_handler.h.
|
inlinevirtual |
Receive notification of the beginning of an element.
Zorba's serializer will invoke this method at the beginning of every element of the serialized query result; there will be a corresponding endElement() event for every startElement() event (even when the element is empty). All of the element's content will be reported, in order, before the corresponding endElement() event.
aURI | the URI of the associated namespace for this element. |
aLocalname | thee local part of the element name. |
aQName | the QName of this element. |
aAttrs | the attributes attached to the element, if any. |
Implements zorba::SAX2_ContentHandler.
Definition at line 45 of file default_content_handler.h.
|
inlinevirtual |
Implements zorba::SAX2_LexicalHandler.
Definition at line 100 of file default_content_handler.h.
|
inlinevirtual |
Receive notification of the start of an namespace prefix mapping.
aPrefix | the namespace prefix used |
aURI | the namespace URI used. |
Implements zorba::SAX2_ContentHandler.
Definition at line 61 of file default_content_handler.h.
|
inline |
Definition at line 82 of file default_content_handler.h.