Pease Plate is a small but powerful template engine for Java that uses simple POJOs as data model.
Pease Plate includes an extendable Java-like expression language designed for the special needs of template rendering.
Here are some key features of "Pease Plate":
· It`s easy on the template side, because it`s expression language is designed for the special needs of template rendering and helps you a lot with common tasks.
· And it`s easy on the program side, because very simple to integrate and uses plain old Java objects as template data model.
· How To Integrate Pease Plate
· The following chapter contains anything you need to integrate Pease Plate into your application.
· Uniform Integration Pattern - the common code fragment you need to render templates
· Designing a Resolver - in case your raw template data comes from unusual places like a database
· Template Expression Language
· This chapter contains all the stuff you need in templates.
· Template Structure - a general overview of how templates look like
· Expression Language - a detailed description of the expression language
· Reference - the complete reference to Pease Plate`s template engine
· Advanced stuff
· Beside the predefined things in Pease Plate, you can enhance it in various ways.
· Adding Transformers - manipulate how data is presented
· Creating Custom Designators - add own keywords to the language
What`s New in This Release: [ read full changelog ]
· Changed domain packages to internal
· Integrated findBugs and fixed a lot of warnings and one bug
· Added empty LineSeparator
· Fixed compiler error with $pop command without followers
· Fixed inexact variable and vararg method calls
Fixed boolean conversion:
· null is false, non-null is true.
· number 0 is false, other numbers are true
· char 0 is false, other chars are true
· string "false" is false, other strings are true
· Fixed class loader problem in ClassLoaderResolver