NavigateThe Java Code generatorTestimonials

XMLBooster's Java Code generator

  • Generates a parser (to convert an XML input to a valid Java data structure) as well as an unparser (to convert the Java data structure back to an XML stream).
  • Generates standard Java code, that can be compiled and run on virtually any platform, including NT, Linux, Unix, etc.
  • Generates a convenient and strongly typed interface to access the information parsed by XMLBooster. For instance, since the Java 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.
  • Uses user-defined classes for collections.
  • Performs error recovery when dealing with a recoverable error, and raises a Java 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.
  • One can attach a class to a leaf-element (that cannot be further decomposed), rather than relying on the default behaviour of using plain Java Strings for that purpose. This facility, typically in conjunction with regular expressions (see below) can be used to define dates, amounts, timestamps, etc.
  • 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.

© 2002-2011 XMLBooster -- the fast XML parser generator -- comments to webmaster@xmlbooster.com