Class TextItem
- java.lang.Object
-
- com.aquima.web.api.model.page.element.ElementModel
-
- com.aquima.web.api.model.page.element.TextItem
-
public class TextItem extends ElementModel
This class represents the text item viewmodel.- Since:
- 9.2
- Author:
- A.Pragt
-
-
Constructor Summary
Constructors Constructor Description TextItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
List<TextItemNode>
getNodes()
This method returns the child nodes.String
getPlainText()
This method returns the plain textString
getType()
int
hashCode()
void
setPlainText(String plainText)
This method sets the plainText-
Methods inherited from class com.aquima.web.api.model.page.element.ElementModel
addProperty, getFunctionalKey, getKey, getName, getProperties, getStyles, setFunctionalKey, setKey, setName
-
-
-
-
Method Detail
-
getType
public String getType()
- Specified by:
getType
in classElementModel
-
getNodes
public List<TextItemNode> getNodes()
This method returns the child nodes.- Returns:
- The nodes.
-
getPlainText
public String getPlainText()
This method returns the plain text- Returns:
- the plainText
-
setPlainText
public void setPlainText(String plainText)
This method sets the plainText- Parameters:
plainText
-
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classElementModel
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classElementModel
-
-