Package com.esprow.oapi.util
Interface MixedContent
- All Superinterfaces:
Collection<MixedContent.Item>
,Iterable<MixedContent.Item>
The collection of items of various types.
-
Method Details
-
getText
String getText()Returns the concatenated text content. If there are severalTextItem
s, their values are joined with whitespace delimiter. The resulting string is trimmed afterwards. Nested items are not processed recursively.- Returns:
- the concatenated text content, or an empty string if there is no text nodes
- See Also:
-