Package org.thymeleaf.model
Interface IText
-
- All Superinterfaces:
CharSequence
,ITemplateEvent
public interface IText extends ITemplateEvent, CharSequence
Event interface defining a Text, i.e. a part of a template that does not contain any kind of relevant structure.
Note that any implementations of this interface should be immutable.
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getText()
Returns the Text as a String.-
Methods inherited from interface java.lang.CharSequence
charAt, length, subSequence, toString
-
Methods inherited from interface org.thymeleaf.model.ITemplateEvent
accept, getCol, getLine, getTemplateName, hasLocation, write
-
-
-
-
Method Detail
-
getText
String getText()
Returns the Text as a String.
- Returns:
- the text.
-
-