Interface Block

All Superinterfaces:
ContentNode, StructuralNode
All Known Implementing Classes:
BlockImpl

public interface Block extends StructuralNode
  • Method Details

    • lines

      Deprecated.
      Please use getLines()
      Returns:
      The original content of this block
    • getLines

      List<String> getLines()
      Returns:
      The original content of this block
    • setLines

      void setLines(List<String> lines)
      Sets the source lines of the Block.
      Parameters:
      lines - The source of this Block, substitutions will still be applied.
    • source

      Deprecated.
      Please use getSource()
      Returns:
      the String containing the lines joined together or null if there are no lines
    • getSource

      String getSource()
      Returns:
      the String containing the lines joined together or null if there are no lines
    • setSource

      void setSource(String source)
      Sets the source of the Block.
      Parameters:
      source - The source of this Block, substitutions will still be applied.