org.apache.jasper.compiler
Class Node.JspAttribute
java.lang.Object
org.apache.jasper.compiler.Node.JspAttribute
- org.apache.jasper.compiler.Node
public static class Node.JspAttribute
extends java.lang.Object
Represents attributes that can be request time expressions.
Can either be a plain attribute, an attribute that represents a
request time expression value, or a named attribute (specified using
the jsp:attribute standard action).
getLocalName
public String getLocalName()
- The local name of the attribute
getName
public String getName()
- The name of the attribute
getNamedAttributeNode
public Node.NamedAttribute getNamedAttributeNode()
Only makes sense if namedAttribute is true.
- the nodes that evaluate to the body of this attribute.
getURI
public String getURI()
- The namespace of the attribute, or null if in the default
namespace
getValue
public String getValue()
Only makes sense if namedAttribute is false.
- the value for the attribute, or the expression string
(stripped of "<%=", "%>", "%=", or "%"
but containing "${" and "}" for EL expressions)
isDynamic
public boolean isDynamic()
XXX
isELInterpreterInput
public boolean isELInterpreterInput()
- true if the value represents an expression that should
be fed to the expression interpreter
isExpression
public boolean isExpression()
- true if the value represents a traditional rtexprvalue
isLiteral
public boolean isLiteral()
- true if the value is a string literal known at translation
time.
isNamedAttribute
public boolean isNamedAttribute()
- true if the value represents a NamedAttribute value.
Copyright B) 2000-2004 Apache Software Foundation. All Rights Reserved.