Some Runtime Options
Although most of this chapter has focused on compile-time options, there are some directly related runtime topics, most of which we will cover in the remainder of the book.
Runtime DOM Debugging
XMLC provides the -dump option for dumping the contents of the presentation template. This data is the result of compilation before the template has been loaded and manipulated by the presentation logic. What if you want to look at the DOM after it's been loaded by the factory method; or perhaps after the page's table template has been augmented with new rows?
The class DOMInfo has a number of fields for indicating which data to print; however, the printTree() method is the primary feature of this class.
This method has special handling ...
Get Enhydra XMLC™ Java™ Presentation Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.