Add a list of files. This is used for implementing include-prelude and include-coda of jsp-config element in web.xml
(Node parent, Collection<String> files)
| 362 | * web.xml |
| 363 | */ |
| 364 | private void addInclude(Node parent, Collection<String> files) throws JasperException { |
| 365 | if (files != null) { |
| 366 | for (String file : files) { |
| 367 | AttributesImpl attrs = new AttributesImpl(); |
| 368 | attrs.addAttribute("", "file", "file", "CDATA", file); |
| 369 | |
| 370 | // Create a dummy Include directive node |
| 371 | Node includeNode = new Node.IncludeDirective(attrs, reader.mark(), parent); |
| 372 | processIncludeDirective(file, includeNode); |
| 373 | } |
| 374 | } |
| 375 | } |
| 376 | |
| 377 | /* |
| 378 | * Parses a taglib directive with the following syntax: Directive ::= ( S Attribute)* |
no test coverage detected