Package cz.vutbr.fit.layout.text.chunks
Class LeafAreaChunksSource
- java.lang.Object
-
- cz.vutbr.fit.layout.text.chunks.ChunksSource
-
- cz.vutbr.fit.layout.text.chunks.LeafAreaChunksSource
-
public class LeafAreaChunksSource extends ChunksSource
A simple chunks source that makes a text chunk from each leaf area in the source tree.- Author:
- burgetr
-
-
Constructor Summary
Constructors Constructor Description LeafAreaChunksSource(Area root)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TextChunk>getTextChunks()Extracts a list of chunks from the source area tree.-
Methods inherited from class cz.vutbr.fit.layout.text.chunks.ChunksSource
getRoot
-
-
-
-
Constructor Detail
-
LeafAreaChunksSource
public LeafAreaChunksSource(Area root)
-
-
Method Detail
-
getTextChunks
public List<TextChunk> getTextChunks()
Description copied from class:ChunksSourceExtracts a list of chunks from the source area tree.- Specified by:
getTextChunksin classChunksSource- Returns:
-
-