Package org.jooq.conf

Class RenderFormatting

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, XMLAppendable

    public class RenderFormatting
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Cloneable, XMLAppendable
    All sorts of formatting flags / settings.
    See Also:
    Serialized Form
    • Field Detail

      • newline

        protected java.lang.String newline
      • indentation

        protected java.lang.String indentation
      • printMargin

        protected java.lang.Integer printMargin
    • Constructor Detail

      • RenderFormatting

        public RenderFormatting()
    • Method Detail

      • getNewline

        public java.lang.String getNewline()
        The character to be used for line breaks.
        Returns:
        possible object is String
      • setNewline

        public void setNewline​(java.lang.String value)
        Sets the value of the newline property.
        Parameters:
        value - allowed object is String
      • getIndentation

        public java.lang.String getIndentation()
        The characters to be used for indentation.
        Returns:
        possible object is String
      • setIndentation

        public void setIndentation​(java.lang.String value)
        Sets the value of the indentation property.
        Parameters:
        value - allowed object is String
      • getPrintMargin

        public java.lang.Integer getPrintMargin()
        The print margin after which (some) formatted elements will break lines.
        Returns:
        possible object is Integer
      • setPrintMargin

        public void setPrintMargin​(java.lang.Integer value)
        Sets the value of the printMargin property.
        Parameters:
        value - allowed object is Integer
      • withIndentation

        public RenderFormatting withIndentation​(java.lang.String value)
      • withPrintMargin

        public RenderFormatting withPrintMargin​(java.lang.Integer value)
      • toString

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

        public boolean equals​(java.lang.Object that)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.Object clone()
        Overrides:
        clone in class java.lang.Object