public class UseAttributeTag
extends 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() |
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 JspException
JspException
public java.lang.String getScriptingVariable()