Module org.jooq
Package org.jooq.conf

Class RenderFormatting

java.lang.Object
org.jooq.conf.RenderFormatting
All Implemented Interfaces:
Serializable, Cloneable, XMLAppendable

public class RenderFormatting extends Object implements Serializable, Cloneable, XMLAppendable
All sorts of formatting flags / settings.
See Also:
  • Field Details Link icon

    • newline Link icon

      protected String newline
    • indentation Link icon

      protected String indentation
    • printMargin Link icon

      protected Integer printMargin
  • Constructor Details Link icon

    • RenderFormatting Link icon

      public RenderFormatting()
  • Method Details Link icon

    • getNewline Link icon

      public String getNewline()
      The character to be used for line breaks.
    • setNewline Link icon

      public void setNewline(String value)
      The character to be used for line breaks.
    • getIndentation Link icon

      public String getIndentation()
      The characters to be used for indentation.
    • setIndentation Link icon

      public void setIndentation(String value)
      The characters to be used for indentation.
    • getPrintMargin Link icon

      public Integer getPrintMargin()
      The print margin after which (some) formatted elements will break lines.
    • setPrintMargin Link icon

      public void setPrintMargin(Integer value)
      The print margin after which (some) formatted elements will break lines.
    • withNewline Link icon

      public RenderFormatting withNewline(String value)
      The character to be used for line breaks.
    • withIndentation Link icon

      public RenderFormatting withIndentation(String value)
      The characters to be used for indentation.
    • withPrintMargin Link icon

      public RenderFormatting withPrintMargin(Integer value)
      The print margin after which (some) formatted elements will break lines.
    • appendTo Link icon

      public final void appendTo(XMLBuilder builder)
      Specified by:
      appendTo in interface XMLAppendable
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object
    • equals Link icon

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • hashCode Link icon

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone Link icon

      public Object clone()
      Overrides:
      clone in class Object