| java.lang.Object org.apache.jasper.compiler.Node
Node | abstract class Node implements TagConstants(Code) | | An internal data representation of a JSP page or a JSP docuement (XML).
Also included here is a visitor class for tranversing nodes.
author: Kin-man Chung author: Jan Luehe author: Shawn Bayern author: Mark Roth |
Inner Class :public static class Root extends Node | |
Inner Class :public static class JspRoot extends Node | |
Inner Class :public static class PageDirective extends Node | |
Inner Class :public static class IncludeDirective extends Node | |
Inner Class :public static class TaglibDirective extends Node | |
Inner Class :public static class TagDirective extends Node | |
Inner Class :public static class AttributeDirective extends Node | |
Inner Class :public static class VariableDirective extends Node | |
Inner Class :public static class InvokeAction extends Node | |
Inner Class :public static class DoBodyAction extends Node | |
Inner Class :public static class Comment extends Node | |
Inner Class :abstract public static class ScriptingElement extends Node | |
Inner Class :public static class Declaration extends ScriptingElement | |
Inner Class :public static class Expression extends ScriptingElement | |
Inner Class :public static class Scriptlet extends ScriptingElement | |
Inner Class :public static class ELExpression extends Node | |
Inner Class :public static class ParamAction extends Node | |
Inner Class :public static class ParamsAction extends Node | |
Inner Class :public static class FallBackAction extends Node | |
Inner Class :public static class IncludeAction extends Node | |
Inner Class :public static class ForwardAction extends Node | |
Inner Class :public static class GetProperty extends Node | |
Inner Class :public static class SetProperty extends Node | |
Inner Class :public static class UseBean extends Node | |
Inner Class :public static class PlugIn extends Node | |
Inner Class :public static class UninterpretedTag extends Node | |
Inner Class :public static class JspElement extends Node | |
Inner Class :public static class JspOutput extends Node | |
Inner Class :public static class ChildInfo | |
Inner Class :public static class CustomTag extends Node | |
Inner Class :public static class AttributeGenerator extends Node | |
Inner Class :public static class JspText extends Node | |
Inner Class :public static class NamedAttribute extends Node | |
Inner Class :public static class JspBody extends Node | |
Inner Class :public static class TemplateText extends Node | |
Inner Class :public static class JspAttribute | |
Inner Class :public static class Nodes | |
Inner Class :public static class Visitor | |
Constructor Summary | |
public | Node() Zero-arg Constructor. | public | Node(Mark start, Node parent) Constructor. | public | Node(String qName, String localName, Mark start, Node parent) Constructor. | public | Node(String qName, String localName, Attributes attrs, Mark start, Node parent) Constructor for Nodes parsed from standard syntax. | public | Node(String qName, String localName, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) Constructor for Nodes parsed from XML syntax. | public | Node(String qName, String localName, String text, Mark start, Node parent) |
beginJavaLine | protected int beginJavaLine(Code) | | |
body | protected Nodes body(Code) | | |
endJavaLine | protected int endJavaLine(Code) | | |
namedAttributeNodes | protected Nodes namedAttributeNodes(Code) | | |
Node | public Node()(Code) | | Zero-arg Constructor.
|
Node | public Node(Mark start, Node parent)(Code) | | Constructor.
Parameters: start - The location of the jsp page Parameters: parent - The enclosing node |
Node | public Node(String qName, String localName, Mark start, Node parent)(Code) | | Constructor.
Parameters: qName - The action's qualified name Parameters: localName - The action's local name Parameters: start - The location of the jsp page Parameters: parent - The enclosing node |
Node | public Node(String qName, String localName, Attributes attrs, Mark start, Node parent)(Code) | | Constructor for Nodes parsed from standard syntax.
Parameters: qName - The action's qualified name Parameters: localName - The action's local name Parameters: attrs - The attributes for this node Parameters: start - The location of the jsp page Parameters: parent - The enclosing node |
Node | public Node(String qName, String localName, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent)(Code) | | Constructor for Nodes parsed from XML syntax.
Parameters: qName - The action's qualified name Parameters: localName - The action's local name Parameters: attrs - The action's attributes whose name does not start withxmlns Parameters: nonTaglibXmlnsAttrs - The action's xmlns attributes that do notrepresent tag libraries Parameters: taglibAttrs - The action's xmlns attributes that represent taglibraries Parameters: start - The location of the jsp page Parameters: parent - The enclosing node |
accept | abstract void accept(Visitor v) throws JasperException(Code) | | 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.
Parameters: v - The visitor class |
getBeginJavaLine | public int getBeginJavaLine()(Code) | | |
getBody | public Nodes getBody()(Code) | | |
getEndJavaLine | public int getEndJavaLine()(Code) | | |
getNamedAttributeNode | public NamedAttribute getNamedAttributeNode(String name)(Code) | | Searches all subnodes of this node for jsp:attribute standard
actions with the given name, and returns the NamedAttribute node
of the matching named attribute, nor null if no such node is found.
This should always be called and only be called for nodes that
accept dynamic runtime attribute expressions.
|
getNamedAttributeNodes | public Node.Nodes getNamedAttributeNodes()(Code) | | Searches all subnodes of this node for jsp:attribute standard
actions, and returns that set of nodes as a Node.Nodes object.
Possibly empty Node.Nodes object containing any jsp:attributesubnodes of this Node |
getNonTaglibXmlnsAttributes | public Attributes getNonTaglibXmlnsAttributes()(Code) | | |
getTextAttribute | public String getTextAttribute(String name)(Code) | | Get the attribute that is non request time expression, either
from the attribute of the node, or from a jsp:attrbute
|
isDummy | public boolean isDummy()(Code) | | |
setBeginJavaLine | public void setBeginJavaLine(int begin)(Code) | | |
setBody | public void setBody(Nodes body)(Code) | | |
setEndJavaLine | public void setEndJavaLine(int end)(Code) | | |
setInnerClassName | public void setInnerClassName(String icn)(Code) | | |
|
|