public class DefinitionTag extends DefinitionTagSupport implements PutTagParent, PutListTagParent
controllerName, controllerType, page, role
Constructor and Description |
---|
DefinitionTag() |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag()
Process the end tag by putting the definition in appropriate context.
|
int |
doStartTag()
Process the start tag by creating a new definition.
|
String |
getExtends()
Get
extends (parent) definition name. |
String |
getId()
Get the ID.
|
String |
getScope()
Get the scope.
|
void |
processNestedTag(PutListTag nestedTag)
Process nested ≶putList> tag.
|
void |
processNestedTag(PutTag nestedTag)
Process nested ≶put> tag.
|
void |
putAttribute(String name,
Object content)
This method is a convenience for other tags for
putting content into the tile definition.
|
void |
release()
Reset member values for reuse.
|
protected void |
releaseInternal()
Release internal references.
|
void |
setExtends(String definitionName)
Set
extends (parent) definition name. |
void |
setId(String id)
Set the ID.
|
void |
setScope(String aScope)
Set the scope.
|
getControllerName, getControllerType, getPage, getRole, getTemplate, setController, setControllerClass, setControllerName, setControllerType, setControllerUrl, setPage, setRole, setTemplate
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class DefinitionTagSupport
protected void releaseInternal()
public void putAttribute(String name, Object content)
public void processNestedTag(PutTag nestedTag) throws javax.servlet.jsp.JspException
processNestedTag
in interface PutTagParent
nestedTag
- Nested tag to process.javax.servlet.jsp.JspException
public void processNestedTag(PutListTag nestedTag) throws javax.servlet.jsp.JspException
processNestedTag
in interface PutListTagParent
nestedTag
- Nested PutTag defining the attribute.javax.servlet.jsp.JspException
public String getId()
getId
in class javax.servlet.jsp.tagext.TagSupport
public void setId(String id)
setId
in class javax.servlet.jsp.tagext.TagSupport
id
- New ID.public String getScope()
public void setScope(String aScope)
aScope
- Scope.public void setExtends(String definitionName)
extends
(parent) definition name.definitionName
- Name of parent definition.public String getExtends()
extends
(parent) definition name.public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
- On errors processing tag.public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
- On errors processing tag.Copyright © 2000–2017 Apache Software Foundation. All rights reserved.