Protocol DXMLHandler

Adopted by:
DPropertyTree, DXMLTree, DXMLWriter
Declared in:
DXML.h

Protocol Description

The DXMLHandler protocol specifies the methods a xml handler must implement for processing the contents of a xml source.

Last modified:
21-Nov-2005 (DXML.h)

Method Index

- (BOOL) attribute :(const DXMLChar *) attribute :(const DXMLChar *) value
Process an attribute for an element (after a startElement)
Parameters:
attribute - the attribute
value - the value for the attribute
Returns:
success
- (BOOL) characters :(const DXMLChar *) text
Process a string of characters
Parameters:
text - the text of the characters
Returns:
success
- (BOOL) comment :(const DXMLChar *) text
Process a comment
Parameters:
text - the text of the comment
Returns:
success
- (BOOL) endCDATA
Process the end of a CDATA section
Returns:
success
- (BOOL) endDocument
Process the end of a document
Returns:
success
- (BOOL) endElement
Process the end of an element
Returns:
success
- (BOOL) endNamespace
End of a namespace declaration
Returns:
success
- (void) error :(int) number :(const char *) name :(int) lineNumber :(int) columnNumber
An error is found during the parsing of the file
Parameters:
number - the error number
name - the name of the config file
lineNumber - the line number in the config file
columnNumber - the column number in the config file
Returns:
success
- (BOOL) processingInstruction :(const DXMLChar *) target :(const DXMLChar *) value
Process a processing instruction
Parameters:
target - the target
value - the value
Returns:
success
- (BOOL) startCDATA
Process the start of a CDATA section
Returns:
success
- (BOOL) startDocument :(const DXMLChar *) version :(const DXMLChar *) encoding :(int) standalone
Process the start of a document
Parameters:
version - the version number
encoding - the encoding
standalone - is the xml document standalone ? (-1 = missing)
Returns:
success
- (BOOL) startElement :(const DXMLChar *) name
Process the start of an element
Parameters:
name - the name of the element
Returns:
success
- (BOOL) startNamespace :(const DXMLChar *) prefix :(const DXMLChar *) uri
Start of a namespace declaration
Parameters:
prefix - the prefix
uri - the uri
Returns:
success
- (BOOL) unparsed :(const DXMLChar *) text
Process unparsed text in the xml document (e.g. the DTD)
Parameters:
text - the unparsed text
Returns:
success

generated 08-Jan-2006 by ObjcDoc 3.0.0