Interface BlockReference.Builder

    • Method Detail

      • blockId

        BlockReference.Builder blockId​(String blockId)

        Unique identifier for the block.

        Parameters:
        blockId - Unique identifier for the block.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • beginOffset

        BlockReference.Builder beginOffset​(Integer beginOffset)

        Offset of the start of the block within its parent block.

        Parameters:
        beginOffset - Offset of the start of the block within its parent block.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endOffset

        BlockReference.Builder endOffset​(Integer endOffset)

        Offset of the end of the block within its parent block.

        Parameters:
        endOffset - Offset of the end of the block within its parent block.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • childBlocks

        BlockReference.Builder childBlocks​(Collection<ChildBlock> childBlocks)

        List of child blocks within this block.

        Parameters:
        childBlocks - List of child blocks within this block.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • childBlocks

        BlockReference.Builder childBlocks​(ChildBlock... childBlocks)

        List of child blocks within this block.

        Parameters:
        childBlocks - List of child blocks within this block.
        Returns:
        Returns a reference to this object so that method calls can be chained together.