The HandlerBase class is a convenience class provided to aid developers creating implementations of the DocumentHandler, DTDHandler, ErrorHandler and EntityResolver interfaces for registration with a parser
The entity resolver interface.
The DTD event handler interface.
The document event handler interface.
The error handler interface.
The HandlerBase class is a convenience class provided to aid developers creating implementations of the DocumentHandler, DTDHandler, ErrorHandler and EntityResolver interfaces for registration with a parser. The HandlerBase class may be sub-classed and methods may be overridden by the application and then registered with the parser.
By default, do nothing. Application writer may override this method to provide suitable handling of this event.
By default, do nothing. Application writer may override
this method to provide suitable handling of this event.
By default, do nothing. Application writer may override
this method to provide suitable handling of this event.
By default, do nothing. Application writer may override
this method to provide suitable handling of this event.
By default, do nothing. Application writer may override
this method to provide suitable handling of this event.
By default, do nothing. Application writer may override
this method to provide suitable handling of this event.
By default, do nothing. Application writer may override
this method to provide suitable handling of this event.
By default, do nothing. Application writer may override
this method to provide suitable handling of this event.
void endDocument()
void ignorableWhitespace(const ibxmlchar* s, unsigned int start, unsigned int length)
start - The index into the array of
characters at which the
whitespace text fragment
parsed begins.
length - The number of whitespace
characters passed in the
character array which are the
subject of this notification.
characters at which the
whitespace text fragment
parsed begins.
characters
charactersvoid startElement(const ibxmlchar* name, const AttributeList& atts)
atts - A reference to an object of
the class AttributeList
containing a list of all
attributes declared by the
element (if any). If no
attributes are declared, the
getLength() method of the
AttributeList object will
return 0.
endElement
endElement
AttributeList
endElementvoid endElement(const ibxmlchar* name)
startElement
startElementvoid characters(const ibxmlchar* s, unsigned int start, unsigned int length)
start - The index into the array of
characters at which the
whitespace text fragment
parsed begins.
length - The number of whitespace
characters passed in the
character array which are the
subject of this notification.
characters at which the
whitespace text fragment
parsed begins.
ignorableWhitespace
ignorableWhitespacevoid processingInstruction(const ibxmlchar* target, const ibxmlchar* data)
data - A pointer to a string
containing the data supplied
with the processing
instruction, or null if no
data was supplied.
void setDocumentLocator(const Locator* locator)
By default, return null. Application writer may override this method to provide suitable handling of this event.
By default, do nothing. Application writer may override this method to provide suitable handling of this event.
By default, do nothing. Application writer may override
this method to provide suitable handling of this event.
void unparsedEntityDecl(const ibxmlchar* name, const ibxmlchar* publicId, const ibxmlchar* systemId, const ibxmlchar* notationName)
publicId - Pointer to a string containing
the public identifier of the
notation. If no public
identifier is specified, null
is passed.
systemId - Pointer to a string containing
the system identifier of the
notation. If no public
identifier is specified, null
is passed.
notationName - Pointer to a string containing
the notation name of the
associated notation.
By default, do nothing. Application writer may override this method to provide suitable handling of this event.
By default, do nothing. Application writer may override
this method to provide suitable handling of this event.
By default, do nothing. Application writer may override
this method to provide suitable handling of this event.
void fatalError(SAXParseException& exception)
void warning(SAXParseException& exception)
Alphabetic index Hierarchy of classes