org.apache.jasper.compiler
Class Node.NamedAttribute

java.lang.Object
  |
  +--org.apache.jasper.compiler.Node
        |
        +--org.apache.jasper.compiler.Node.NamedAttribute
Enclosing class:
Node

public static class Node.NamedAttribute
extends Node

Represents a Named Attribute (<jsp:attribute>)


Nested Class Summary
 
Nested classes inherited from class org.apache.jasper.compiler.Node
Node.AttributeDirective, Node.ChildInfo, Node.Comment, Node.CustomTag, Node.Declaration, Node.DoBodyAction, Node.ELExpression, Node.Expression, Node.FallBackAction, Node.ForwardAction, Node.GetProperty, Node.IncludeAction, Node.IncludeDirective, Node.InvokeAction, Node.JspAttribute, Node.JspBody, Node.JspElement, Node.JspRoot, Node.JspText, Node.NamedAttribute, Node.Nodes, Node.PageDirective, Node.ParamAction, Node.ParamsAction, Node.PlugIn, Node.Root, Node.ScriptingElement, Node.Scriptlet, Node.SetProperty, Node.TagDirective, Node.TaglibDirective, Node.TemplateText, Node.UninterpretedTag, Node.UseBean, Node.VariableDirective, Node.Visitor
 
Field Summary
 
Fields inherited from class org.apache.jasper.compiler.Node
attrs, beginJavaLine, body, endJavaLine, namedAttributeNodes, parent, startMark, text
 
Constructor Summary
Node.NamedAttribute(org.xml.sax.Attributes attrs, Mark start, Node parent)
           
 
Method Summary
 void accept(Node.Visitor v)
           
 Node.ChildInfo getChildInfo()
           
 java.lang.String getName()
           
 java.lang.String getTemporaryVariableName()
           
 boolean isTrim()
           
 
Methods inherited from class org.apache.jasper.compiler.Node
getAttributes, getAttributeValue, getBeginJavaLine, getBody, getEndJavaLine, getNamedAttributeNode, getNamedAttributeNodes, getParent, getStart, getText, getTextAttribute, 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.NamedAttribute

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

accept

public void accept(Node.Visitor v)
            throws JasperException
Overrides:
accept in class Node
JasperException

getName

public java.lang.String getName()

getChildInfo

public Node.ChildInfo getChildInfo()

isTrim

public boolean isTrim()

getTemporaryVariableName

public java.lang.String getTemporaryVariableName()
Returns:
A unique temporary variable name to store the result in. (this probably could go elsewhere, but it's convenient here)


Copyright © 2000 Apache Software Foundation. All Rights Reserved.