Initializer
RenderingConfiguration(Boolean prettyPrint = true, Boolean escapeNonAscii = false, Integer indentSize = ..., Boolean closeVoidElements = false)
Parameters:
  • prettyPrint = true

    Should the result be minified or formatted?

  • escapeNonAscii = false

    Should non-ASCII characters be escaped? If false, the document's characterset should be UTF-8.

  • indentSize = 2

    When prettyPrint==true, the number of spaces that an indentation level is worth.

  • closeVoidElements = false

    Should void elements such as <br> and <hr> be closed, for exampe, <br />?

Attributes
closeVoidElementsSource Codeshared Boolean closeVoidElements

Should void elements such as <br> and <hr> be closed, for exampe, <br />?

escapeNonAsciiSource Codeshared Boolean escapeNonAscii

Should non-ASCII characters be escaped? If false, the document's characterset should be UTF-8.

indentSizeSource Codeshared Integer indentSize

When prettyPrint==true, the number of spaces that an indentation level is worth.

prettyPrintSource Codeshared Boolean prettyPrint

Should the result be minified or formatted?

Inherited Attributes
Attributes inherited from: Object
Inherited Methods
Methods inherited from: Object