Interface Insertable<RECEIVER,​SELF>

    • Method Detail

      • noneInsertion

        boolean noneInsertion()
      • inserting

        boolean inserting​(@NotNull
                          @NotNull java.lang.String id)
      • getInsertion

        @Nullable
        @Nullable java.util.List<java.lang.String> getInsertion​(@NotNull
                                                                @NotNull java.lang.String id,
                                                                @Nullable
                                                                RECEIVER receiver)
      • insert

        SELF insert​(@NotNull
                    @NotNull java.lang.String id,
                    @Nullable
                    @Nullable java.util.function.Function<RECEIVER,​java.util.List<java.lang.String>> supplier)
        Insert the specific contents by the id.
        Parameters:
        id - the id of the insertion text
        supplier - to supply the lines to insert
        Returns:
        the current ContentHandler instance
      • insert

        default SELF insert​(@NotNull
                            @NotNull java.lang.String id)
        Insert the specific contents by the id.
        Parameters:
        id - the id of the insertion text
        Returns:
        the current ContentHandler instance
      • insert

        default SELF insert​(@NotNull
                            @NotNull java.lang.String id,
                            @NotNull
                            @NotNull java.util.List<java.lang.String> contents)
        Insert the specific contents by the id.
        Parameters:
        id - the id of the insertion text
        contents - the lines to insert
        Returns:
        the current ContentHandler instance
      • insert

        default SELF insert​(@NotNull
                            @NotNull java.lang.String id,
                            @NotNull
                            @NotNull java.lang.String... contents)
        Insert the specific contents by the id.
        Parameters:
        id - the id of the insertion text
        contents - the lines to insert
        Returns:
        the current ContentHandler instance
      • removeInsert

        SELF removeInsert​(@NotNull
                          @NotNull java.lang.String id)