- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 35 of file WebElement.java.
◆ getAttributes()
Map<String, String> org.turro.elephant.web.context.WebElement.getAttributes |
( |
| ) |
|
◆ getElementClass()
String org.turro.elephant.web.context.WebElement.getElementClass |
( |
| ) |
|
◆ getInstance()
Definition at line 72 of file WebElement.java.
73 IElement element =
isEmpty() ? null : (IElement) Reflections.of(elementClass).instance();
74 if(element ==
null) element =
new DefaultElement();
75 AttributeSupport attribs = ((IManageable) element).getAttributes();
76 attributes.forEach((k, v) -> {
77 attribs.addAttribute(
new AttributeItem(
"attrib:" + k, v, AttributeItem.STRING_ATTR,
null));
◆ getRole()
String org.turro.elephant.web.context.WebElement.getRole |
( |
| ) |
|
◆ isEmpty()
boolean org.turro.elephant.web.context.WebElement.isEmpty |
( |
| ) |
|
Definition at line 66 of file WebElement.java.
67 return Strings.isBlank(elementClass);
◆ setAttributes()
void org.turro.elephant.web.context.WebElement.setAttributes |
( |
Map< String, String > |
attributes | ) |
|
◆ setElementClass()
void org.turro.elephant.web.context.WebElement.setElementClass |
( |
String |
elementClass | ) |
|
◆ setRole()
void org.turro.elephant.web.context.WebElement.setRole |
( |
String |
role | ) |
|
The documentation for this class was generated from the following file: