javax.servlet.jsp.tagext.JspTag
, javax.servlet.jsp.tagext.SimpleTag
public class UseAttributeTag
extends javax.servlet.jsp.tagext.SimpleTagSupport
Modifier and Type | Class | Description |
---|---|---|
static class |
UseAttributeTag.Tei |
Implementation of
TagExtraInfo which identifies the
scripting object(s) to be made visible. |
Constructor | Description |
---|---|
UseAttributeTag() |
Modifier and Type | Method | Description |
---|---|---|
void |
doTag() |
|
java.lang.String |
getClassname() |
Get class name.
|
java.lang.String |
getId() |
Returns the id of the imported scripting variable.
|
java.lang.String |
getName() |
Get the name.
|
java.lang.String |
getScope() |
Get scope.
|
java.lang.String |
getScriptingVariable() |
Returns the scripting variable to use.
|
boolean |
isIgnore() |
Get ignore flag.
|
void |
setClassname(java.lang.String name) |
Set the class name.
|
void |
setId(java.lang.String id) |
Sets the id of the imported scripting variable.
|
void |
setIgnore(boolean ignore) |
Set ignore flag.
|
void |
setName(java.lang.String name) |
Set the name.
|
void |
setScope(java.lang.String scope) |
Set the scope.
|
public java.lang.String getId()
public void setId(java.lang.String id)
id
- The id of the imported scripting variable.public void setScope(java.lang.String scope)
scope
- Scope.public java.lang.String getScope()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The new namepublic void setIgnore(boolean ignore)
ignore
- default: false
: Exception is thrown when
attribute is not found, set to
true
to
ignore missing attributes silentlypublic boolean isIgnore()
false
: Exception is thrown when attribute
is not found, set to
true
to ignore missing
attributes silentlypublic java.lang.String getClassname()
public void setClassname(java.lang.String name)
name
- The new class name.public void doTag() throws javax.servlet.jsp.JspException, java.io.IOException
doTag
in interface javax.servlet.jsp.tagext.SimpleTag
doTag
in class javax.servlet.jsp.tagext.SimpleTagSupport
javax.servlet.jsp.JspException
java.io.IOException
public java.lang.String getScriptingVariable()
Copyright © 2018. All rights reserved.