Interface ContentIterator


  • @API(type=NOT_EXTENDABLE,
         src=PUBLIC)
    public interface ContentIterator
    Iterator over the content of a node.
    Since:
    22
    • Method Detail

      • hasNext

        boolean hasNext()
        Returns:
        true if another char can be obtain using the next() method.
      • next

        char next()
           throws javax.swing.text.BadLocationException
        Returns:
        The next char in the content.
        Throws:
        javax.swing.text.BadLocationException - If there are no more next characters.