Interface IOptionalTextHolder
- All Known Subinterfaces:
IMutableOptionalTextHolder
-
Method Summary
-
Method Details
-
getText
String getText()- Returns:
- the text of the current
IOptionalTextHolder. - Throws:
RuntimeException- if the currentIOptionalTextHolderdoes not have a text.
-
hasText
boolean hasText()- Returns:
- true if the current
IOptionalTextHolderhas a text, false otherwise.
-