Interface MarkupBuilderWriter

  • All Superinterfaces:
    MarkupWriter
    All Known Implementing Classes:
    HtmlWriter

    public interface MarkupBuilderWriter
    extends MarkupWriter
    The methods in this class will be merged with MarkupWriter in 0.3.0.

    Thus this interface will be deprecated in the next release.

    Since:
    0.2.2
    Author:
    agent
    • Method Detail

      • write

        <W extends Writer> W write​(W writer,
                                   int depth)
        Writes using the given writer at the given depth. The writer should not be closed and will not be closed by implementations. Its up to the caller to close the writer.
        Type Parameters:
        W - writer type.
        Parameters:
        depth - the indent depth to start at.
        writer - not null.
        Returns:
        the writer used for fluent style.
        Since:
        0.2.2
        See Also:
        MarkupBuilder.write(MarkupWriter...)