Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
You created many different basic building blocks through code in chapters 2 and 4. You’ve written createObject() methods and a PojoToElementFactory class for your convenience. In this section, you’ll learn how to take a shortcut, and to let iText create these objects for you.
In section 9.4.1, we’ll take HTML as the source to create objects, in section 9.4.2, we’ll use XML.