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:
Serialized Form
  • Field Details

    • newline

      protected String newline
    • indentation

      protected String indentation
    • printMargin

      protected Integer printMargin
  • Constructor Details

    • RenderFormatting

      public RenderFormatting()
  • Method Details

    • getNewline

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

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

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

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

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

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

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

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

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

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

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

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

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

      public Object clone()
      Overrides:
      clone in class Object