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
  • Method Summary

    Modifier and Type
    Method
    Description
    <W extends Writer>
    W
    write(W writer, int depth)
    Writes using the given writer at the given depth.

    Methods inherited from interface com.googlecode.jatl.MarkupWriter

    write
  • Method Details

    • 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:
      writer - not null.
      depth - the indent depth to start at.
      Returns:
      the writer used for fluent style.
      Since:
      0.2.2
      See Also: