org.apache.jasper.compiler
Class Node.CustomTag

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

public static class Node.CustomTag
extends Node

Represents a custom tag


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.CustomTag(org.xml.sax.Attributes attrs, Mark start, java.lang.String name, java.lang.String prefix, java.lang.String shortName, javax.servlet.jsp.tagext.TagInfo tagInfo, javax.servlet.jsp.tagext.TagFileInfo tagFileInfo, java.lang.Class tagHandlerClass, Node parent)
           
 
Method Summary
 void accept(Node.Visitor v)
           
 boolean checkIfAttributeIsJspFragment(java.lang.String name)
          Checks to see if the attribute of the given name is of type JspFragment.
 Node.ChildInfo getChildInfo()
           
 int getCustomNestingLevel()
           
 Node.CustomTag getCustomTagParent()
           
 Node.JspAttribute[] getJspAttributes()
           
 java.lang.String getName()
           
 java.lang.Integer getNumCount()
           
 java.lang.String getPrefix()
           
 java.util.Vector getScriptingVars(int scope)
           
 java.lang.String getShortName()
           
 javax.servlet.jsp.tagext.TagData getTagData()
           
 javax.servlet.jsp.tagext.TagFileInfo getTagFileInfo()
           
 java.lang.Class getTagHandlerClass()
           
 java.lang.String getTagHandlerPoolName()
           
 javax.servlet.jsp.tagext.TagInfo getTagInfo()
           
 javax.servlet.jsp.tagext.TagVariableInfo[] getTagVariableInfos()
           
 javax.servlet.jsp.tagext.VariableInfo[] getVariableInfos()
           
 boolean implementsBodyTag()
           
 boolean implementsDynamicAttributes()
           
 boolean implementsIterationTag()
           
 boolean implementsSimpleTag()
           
 boolean implementsTryCatchFinally()
           
 void setCustomTagParent(Node.CustomTag n)
           
 void setJspAttributes(Node.JspAttribute[] jspAttrs)
           
 void setNumCount(java.lang.Integer count)
           
 void setScriptingVars(java.util.Vector vec, int scope)
           
 void setTagData(javax.servlet.jsp.tagext.TagData tagData)
           
 void setTagHandlerClass(java.lang.Class hc)
           
 void setTagHandlerPoolName(java.lang.String s)
           
 
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.CustomTag

public Node.CustomTag(org.xml.sax.Attributes attrs,
                      Mark start,
                      java.lang.String name,
                      java.lang.String prefix,
                      java.lang.String shortName,
                      javax.servlet.jsp.tagext.TagInfo tagInfo,
                      javax.servlet.jsp.tagext.TagFileInfo tagFileInfo,
                      java.lang.Class tagHandlerClass,
                      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()
Returns:
The full tag name

getPrefix

public java.lang.String getPrefix()
Returns:
The tag prefix

getShortName

public java.lang.String getShortName()
Returns:
The tag name without prefix

setJspAttributes

public void setJspAttributes(Node.JspAttribute[] jspAttrs)

getJspAttributes

public Node.JspAttribute[] getJspAttributes()

getChildInfo

public Node.ChildInfo getChildInfo()

setTagData

public void setTagData(javax.servlet.jsp.tagext.TagData tagData)

getTagData

public javax.servlet.jsp.tagext.TagData getTagData()

setTagHandlerPoolName

public void setTagHandlerPoolName(java.lang.String s)

getTagHandlerPoolName

public java.lang.String getTagHandlerPoolName()

getTagInfo

public javax.servlet.jsp.tagext.TagInfo getTagInfo()

getTagFileInfo

public javax.servlet.jsp.tagext.TagFileInfo getTagFileInfo()

getTagHandlerClass

public java.lang.Class getTagHandlerClass()

setTagHandlerClass

public void setTagHandlerClass(java.lang.Class hc)

implementsIterationTag

public boolean implementsIterationTag()

implementsBodyTag

public boolean implementsBodyTag()

implementsTryCatchFinally

public boolean implementsTryCatchFinally()

implementsSimpleTag

public boolean implementsSimpleTag()

implementsDynamicAttributes

public boolean implementsDynamicAttributes()

getTagVariableInfos

public javax.servlet.jsp.tagext.TagVariableInfo[] getTagVariableInfos()

getVariableInfos

public javax.servlet.jsp.tagext.VariableInfo[] getVariableInfos()

setCustomTagParent

public void setCustomTagParent(Node.CustomTag n)

getCustomTagParent

public Node.CustomTag getCustomTagParent()

setNumCount

public void setNumCount(java.lang.Integer count)

getNumCount

public java.lang.Integer getNumCount()

setScriptingVars

public void setScriptingVars(java.util.Vector vec,
                             int scope)

getScriptingVars

public java.util.Vector getScriptingVars(int scope)

getCustomNestingLevel

public int getCustomNestingLevel()

checkIfAttributeIsJspFragment

public boolean checkIfAttributeIsJspFragment(java.lang.String name)
Checks to see if the attribute of the given name is of type JspFragment.



Copyright © 2000 Apache Software Foundation. All Rights Reserved.