Class Node.PageDirective

java.lang.Object
org.apache.jasper.compiler.Node
org.apache.jasper.compiler.Node.PageDirective
All Implemented Interfaces:
TagConstants
Enclosing class:
Node

public static class Node.PageDirective extends Node
Represents a page directive
  • Field Details

  • Constructor Details

  • Method Details

    • accept

      public void accept(Node.Visitor v) throws JasperException
      Description copied from class: Node
      Selects and invokes a method in the visitor class based on the node type. This is abstract and should be overrode by the extending classes.
      Specified by:
      accept in class Node
      Parameters:
      v - The visitor class
      Throws:
      JasperException
    • addImport

      public void addImport(String value)
      Parses the comma-separated list of class or package names in the given attribute value and adds each component to this PageDirective's vector of imported classes and packages.
      Parameters:
      value - A comma-separated string of imports.
    • getImports

      public List<String> getImports()