I read the introduction article. However it doesn't mention how to use the API of Thymeleaf. I can use it if I have a template file, and yes - it works fine. However I'm struggling when I have a piece of string that I want to parse. Please have a look at my example with Velocity.