Class Node.TagDirective

  • All Implemented Interfaces:
    TagConstants
    Enclosing class:
    Node

    public static class Node.TagDirective
    extends Node
    Represents a tag directive
    • Field Detail

      • imports

        private java.util.ArrayList<java.lang.String> imports
    • Constructor Detail

      • TagDirective

        public TagDirective​(org.xml.sax.Attributes attrs,
                            Mark start,
                            Node parent)
      • TagDirective

        public TagDirective​(java.lang.String qName,
                            org.xml.sax.Attributes attrs,
                            org.xml.sax.Attributes nonTaglibXmlnsAttrs,
                            org.xml.sax.Attributes taglibAttrs,
                            Mark start,
                            Node parent)
    • Method Detail

      • 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​(java.lang.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 java.util.List<java.lang.String> getImports()