XML Code Generator and Framework for Java, helps you develop high-volume XML Parsers quickly and consistently. Unlike most development tools, xml2j does not force you to use a vendor specific API; using our generator the model is the API.

The code generator uses XSLT to transform XML Schema to Java code and is fully adaptable. With XSD there are many different possible approaches to defining a schema for your XML, therefore the generator first normalizes the XSD to an XML fit for code generation. The last step is the actual code genaration during which Java code is generated that extends the core framework.

A great asset is that the framework uses eventing allowing your application to subscribe to high-level events that correspond to your complexTypes. This is done using a properties file.
You have full control of memory usage making it a great fit for processing very large documents.

Features

  • Customizable code generation
  • Extensible code generation
  • Customizable and event driven processor
  • Simple Java beans interface, no exotic requirements
  • High-performance XML processor
  • Low memory footprint
  • Support for advanced XML constructs such as: recursion, choices, groups, substitution groups
  • Extensible architecture, fully separating processing from reading
  • Framework 100% Java, full source code

Project Activity

See All Activity >

Categories

Code Generators

License

MIT License

Follow xml2j

xml2j Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of xml2j!

Additional Project Details

Operating Systems

HP-UX, IBM AIX, IBM i, Linux, Mac, Server Operating Systems, Windows

Intended Audience

Architects, Developers

Programming Language

Java

Related Categories

Java Code Generators

Registered

2017-01-07