MCPcopy Index your code
hub / github.com/apache/tomcat / PageDataImpl

Method PageDataImpl

java/org/apache/jasper/compiler/PageDataImpl.java:55–65  ·  view source on GitHub ↗

@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)

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 4

getJspIdPrefixMethod · 0.95
getPageInfoMethod · 0.80
visitMethod · 0.65
getRootMethod · 0.45

Tested by

no test coverage detected