Class BlocksCollector<N,B>

java.lang.Object
org.luwrain.web.BlocksCollector<N,B>
Direct Known Subclasses:
WebKitBlocksCollector

public abstract class BlocksCollector<N,B> extends Object
  • Constructor Details

    • BlocksCollector

      public BlocksCollector()
  • Method Details

    • getChildNodes

      public abstract List<N> getChildNodes(N node)
    • isMarkupNode

      public abstract boolean isMarkupNode(N node)
    • isTextNode

      public abstract boolean isTextNode(N node)
    • addTextToBlock

      public abstract void addTextToBlock(N node, B block)
    • createBlock

      public abstract B createBlock(N node)
    • saveBlock

      public abstract boolean saveBlock(B block)
    • process

      public void process(N node)