XMLBooster's Delphi Code generator
-
Generates a parser (to convert an XML input to
a valid Delphi data structure) as well as an unparser
(to convert the Delphi data structure back to an
XML stream).
-
Generates a convenient and strongly typed interface
to access the information parsed by XMLBooster. For
instance, since the Delphi collections do not support
strongly typed genericity, an ad hoc interface is generated
to ensure that all the types used by the system
are consistent.
-
Performs error recovery when dealing with a recoverable
error, and raises a Delphi exception in case of a
non-recoverable error.
-
Inheritance in terms of elements is mapped onto
equivalent inheritance relationships for
the corresponding generated classes.
-
All instances are created through calls to a user-redefinable
factory, so that subclassing can be used to add behaviour
to the objects that are created as part of the parse tree.
-
Fully supports regular expressions: a data element
can be attached to a regular expression, which will
be used to validate the data fetched from the incoming
XML message at parse time.
|