org.apache.jasper.compiler
Class Node.PageDirective

java.lang.Object
  extended byorg.apache.jasper.compiler.Node
      extended byorg.apache.jasper.compiler.Node.PageDirective
Enclosing class:
Node

public static class Node.PageDirective
extends Node

Represents a page directive


Nested Class Summary
 
Nested classes inherited from class org.apache.jasper.compiler.Node
Node.Comment, Node.CustomTag, Node.Declaration, Node.Expression, Node.FallBackAction, Node.ForwardAction, Node.GetProperty, Node.IncludeAction, Node.IncludeDirective, Node.JspAttribute, Node.JspRoot, Node.JspText, Node.Nodes, Node.PageDirective, Node.ParamAction, Node.ParamsAction, Node.PlugIn, Node.Root, Node.ScriptingElement, Node.Scriptlet, Node.SetProperty, Node.TaglibDirective, Node.TemplateText, Node.UninterpretedTag, Node.UseBean, Node.Visitor
 
Field Summary
 
Fields inherited from class org.apache.jasper.compiler.Node
attrs, beginJavaLine, body, endJavaLine, parent, startMark, text
 
Constructor Summary
Node.PageDirective(org.xml.sax.Attributes attrs, Mark start, Node parent)
           
 
Method Summary
 void accept(Node.Visitor v)
           
 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.
 java.util.List getImports()
           
 
Methods inherited from class org.apache.jasper.compiler.Node
getAttributes, getAttributeValue, getBeginJavaLine, getBody, getEndJavaLine, getParent, getStart, getText, isXmlSyntax, setAttributes, setBeginJavaLine, setBody, setEndJavaLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Node.PageDirective

public Node.PageDirective(org.xml.sax.Attributes attrs,
                          Mark start,
                          Node parent)
Method Detail

accept

public void accept(Node.Visitor v)
            throws JasperException
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 getImports()


Copyright © 2000 Apache Software Foundation. All Rights Reserved.