Struct SAXParser
A SAX parser built on top of a cursor.
It delegates all handling to H
, which must be either a type or a template
that can be instantiated to a type applying the underlying cursor type (T
) as parameter.
Template arguments
struct SAXParser(T, alias H)
if (isCursor!T);
Methods
Name | Description |
---|---|
processDocument
|
Processes the entire document; every time a node of
XMLKind XXX is found, the corresponding method onXXX(underlyingCursor)
of the handler is called, if it exists.
|
setSource
|
Initializes this parser (and the underlying low level one) with the given input. |
Authors
Lodovico Giaretta
Copyright
Copyright Lodovico Giaretta 2016 --