Class TextItem
java.lang.Object
com.aquima.web.api.model.page.element.ElementModel
com.aquima.web.api.model.page.element.TextItem
This class represents the text item viewmodel.
- Since:
- 9.2
- Author:
- A.Pragt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getNodes()
This method returns the child nodes.This method returns the plain textgetType()
int
hashCode()
void
setPlainText
(String plainText) This method sets the plainTextMethods inherited from class com.aquima.web.api.model.page.element.ElementModel
addProperty, getFunctionalKey, getKey, getName, getProperties, getStyles, setFunctionalKey, setKey, setName
-
Constructor Details
-
Method Details
-
getType
- Specified by:
getType
in classElementModel
-
getNodes
This method returns the child nodes.- Returns:
- The nodes.
-
getPlainText
This method returns the plain text- Returns:
- the plainText
-
setPlainText
This method sets the plainText- Parameters:
plainText
- the plain text
-
hashCode
public int hashCode()- Overrides:
hashCode
in classElementModel
-
equals
- Overrides:
equals
in classElementModel
-