public class UseAttributeTag
extends javax.servlet.jsp.tagext.SimpleTagSupport
Modifier and Type | Class and Description |
---|---|
static class |
UseAttributeTag.Tei
Implementation of
TagExtraInfo which identifies the
scripting object(s) to be made visible. |
Constructor and Description |
---|
UseAttributeTag() |
Modifier and Type | Method and Description |
---|---|
void |
doTag() |
String |
getClassname()
Get class name.
|
String |
getId()
Returns the id of the imported scripting variable.
|
String |
getName()
Get the name.
|
String |
getScope()
Get scope.
|
String |
getScriptingVariable()
Returns the scripting variable to use.
|
boolean |
isIgnore()
Get ignore flag.
|
void |
setClassname(String name)
Set the class name.
|
void |
setId(String id)
Sets the id of the imported scripting variable.
|
void |
setIgnore(boolean ignore)
Set ignore flag.
|
void |
setName(String name)
Set the name.
|
void |
setScope(String scope)
Set the scope.
|
public String getId()
public void setId(String id)
id
- The id of the imported scripting variable.public void setScope(String scope)
scope
- Scope.public String getScope()
public String getName()
public void setName(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 String getClassname()
public void setClassname(String name)
name
- The new class name.public void doTag() throws javax.servlet.jsp.JspException, IOException
doTag
in interface javax.servlet.jsp.tagext.SimpleTag
doTag
in class javax.servlet.jsp.tagext.SimpleTagSupport
javax.servlet.jsp.JspException
IOException
public String getScriptingVariable()
Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.