public class RenderFormatting extends Object implements Serializable, Cloneable
Modifier and Type | Field and Description |
---|---|
protected String |
indentation |
protected String |
newline |
protected Integer |
printMargin |
Constructor and Description |
---|
RenderFormatting() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
equals(Object that) |
String |
getIndentation()
The characters to be used for indentation.
|
String |
getNewline()
The character to be used for line breaks.
|
Integer |
getPrintMargin()
The print margin after which (some) formatted elements will break lines.
|
int |
hashCode() |
void |
setIndentation(String value)
Sets the value of the indentation property.
|
void |
setNewline(String value)
Sets the value of the newline property.
|
void |
setPrintMargin(Integer value)
Sets the value of the printMargin property.
|
String |
toString() |
RenderFormatting |
withIndentation(String value) |
RenderFormatting |
withNewline(String value) |
RenderFormatting |
withPrintMargin(Integer value) |
protected String newline
protected String indentation
protected Integer printMargin
public String getNewline()
String
public void setNewline(String value)
value
- allowed object is
String
public String getIndentation()
String
public void setIndentation(String value)
value
- allowed object is
String
public Integer getPrintMargin()
Integer
public void setPrintMargin(Integer value)
value
- allowed object is
Integer
public RenderFormatting withNewline(String value)
public RenderFormatting withIndentation(String value)
public RenderFormatting withPrintMargin(Integer value)
Copyright © 2019. All rights reserved.