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 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 |
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)
|
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 |
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)
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.