Module org.jooq
Package org.jooq.conf

Class RenderFormatting

    • Field Detail

      • newline

        protected String newline
      • indentation

        protected String indentation
      • printMargin

        protected Integer printMargin
    • Constructor Detail

      • RenderFormatting

        public RenderFormatting()
    • Method Detail

      • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object