| Package | Description |
|---|---|
| org.apache.struts2.views.java | |
| org.apache.struts2.views.java.simple |
| Modifier and Type | Method and Description |
|---|---|
Attributes |
Attributes.add(String key,
String value) |
Attributes |
Attributes.add(String key,
String value,
boolean encode) |
Attributes |
Attributes.addDefaultToEmpty(String attrName,
Object paramValue)
Add a key/value pair to the attributes, if the value is null, it will be set as an empty string.
|
Attributes |
Attributes.addDefaultToEmpty(String attrName,
Object paramValue,
boolean encode)
Add a key/value pair to the attributes, if the value is null, it will be set as an empty string.
|
Attributes |
Attributes.addIfExists(String attrName,
Object paramValue)
Add a key/value pair to the attributes only if the value is not null.
|
Attributes |
Attributes.addIfExists(String attrName,
Object paramValue,
boolean encode)
Add a key/value pair to the attributes only if the value is not null.
|
Attributes |
Attributes.addIfTrue(String attrName,
Object paramValue)
Add a key/value pair to the attributes only if the value is not null and is a boolean with a
value of 'true'.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TagHandler.start(String name,
Attributes attributes)
Write a tag openening, with its attributes
|
void |
XHTMLTagSerializer.start(String name,
Attributes attrs) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DynamicAttributesHandler.processDynamicAttributes(Attributes a) |
void |
DynamicAttributesHandler.start(String name,
Attributes a) |
void |
ScriptingEventsHandler.start(String name,
Attributes a) |
void |
CommonAttributesHandler.start(String name,
Attributes a) |
void |
AbstractTagHandler.start(String name,
Attributes a) |
Copyright © 2000–2019 Apache Software Foundation. All rights reserved.