@param page the page nodes from which to generate the XML view @param compiler The compiler for this page @throws JasperException If an error occurs
(Node.Nodes page, Compiler compiler)
| 53 | * @throws JasperException If an error occurs |
| 54 | */ |
| 55 | PageDataImpl(Node.Nodes page, Compiler compiler) throws JasperException { |
| 56 | |
| 57 | // First pass |
| 58 | FirstPassVisitor firstPass = new FirstPassVisitor(page.getRoot(), compiler.getPageInfo()); |
| 59 | page.visit(firstPass); |
| 60 | |
| 61 | // Second pass |
| 62 | buf = new StringBuilder(); |
| 63 | SecondPassVisitor secondPass = new SecondPassVisitor(page.getRoot(), buf, compiler, firstPass.getJspIdPrefix()); |
| 64 | page.visit(secondPass); |
| 65 | } |
| 66 | |
| 67 | /** |
| 68 | * Returns the input stream of the XML view. |
nothing calls this directly
no test coverage detected