Interface MixedContent

All Superinterfaces:
Collection<MixedContent.Item>, Iterable<MixedContent.Item>

public interface MixedContent extends Collection<MixedContent.Item>
The collection of items of various types.
  • Method Details

    • getText

      String getText()
      Returns the concatenated text content. If there are several TextItems, 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: