Interface OptionalTextHolder
- All Known Subinterfaces:
MutableOptionalTextHolder
-
Method Summary
-
Method Details
-
getText
String getText()- Returns:
- the text of the current
OptionalTextHolder - Throws:
RuntimeException- if the currentOptionalTextHolderdoes not have a text
-
hasText
boolean hasText()- Returns:
- true if the current
OptionalTextHolderhas a text, false otherwise
-