zorba::DefaultContentHandler#include <zorba/default_content_handler.h> Inherited from: zorba::SAX2_ContentHandler Inherited from: zorba::SAX2_LexicalHandler 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.Public Functions
Public FunctionsattributeDeclvoid attributeDecl(const String &eName, const String &aName, const String &type, const String &mode, const String &value)
charactersvoid characters(const String &text) Receive notification of character data. The serializer will call this method to report each chunk of character data. Parameters
commentvoid comment(const String &chars)
elementDeclvoid elementDecl(const String &name, const String &model)
endCDATAvoid endCDATA()
endDocumentvoid endDocument() Receive notification of the end of a document.
endDTDvoid endDTD()
endElementvoid endElement(const String &uri, const String &localname, const String &qname) 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). Parameters
endEntityvoid endEntity(const String &name)
endPrefixMappingvoid endPrefixMapping(const String &prefix) Receive notification of the end of an namespace prefix mapping.
Parameters
externalEntityDeclvoid externalEntityDecl(const String &name, const String &publicId, const String &systemId)
ignorableWhitespacevoid ignorableWhitespace(const String &whitespace) Receive notification of ignorable whitespace in element content.
Parameters
internalEntityDeclvoid internalEntityDecl(const String &name, const String &value)
notationDeclvoid notationDecl(const String &name, const String &publicId, const String &systemId)
processingInstructionvoid processingInstruction(const String &target, const String &data) Receive notification of a processing instruction. The serializer will invoke this method once for each processing instruction found. Parameters
resetDocTypevoid resetDocType()
skippedEntityvoid skippedEntity(const String &name) Receive notification of a skipped entity.
Parameters
startCDATAvoid startCDATA()
startDocumentvoid startDocument() Receive notification of the beginning of a document.
startDTDvoid startDTD(const String &name, const String &publicId, const String &systemId)
startElementvoid startElement(const String &uri, const String &localname, const String &qname, const SAX2_Attributes &aAttrs) 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. Parameters
startEntityvoid startEntity(const String &name)
startPrefixMappingvoid startPrefixMapping(const String &prefix, const String &uri) Receive notification of the start of an namespace prefix mapping.
Parameters
unparsedEntityDeclvoid unparsedEntityDecl(const String &name, const String &publicId, const String &systemId, const String ¬ationName)
~DefaultContentHandler ~DefaultContentHandler()
|