Package de.neuland.jade4j.compiler
Class IndentWriter
java.lang.Object
de.neuland.jade4j.compiler.IndentWriter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbooleanbooleanbooleanisEscape()booleanisPp()voidnewline()voidprettyIndent(int offset, boolean newline) voidsetCompiledDoctype(boolean compiledDoctype) voidsetCompiledTag(boolean compiledTag) voidsetEscape(boolean escape) voidsetUseIndent(boolean useIndent) toString()private void
-
Field Details
-
indent
private int indent -
parentIndents
private int parentIndents -
useIndent
private boolean useIndent -
empty
private boolean empty -
writer
-
pp
-
escape
private boolean escape -
compiledTag
private boolean compiledTag -
compiledDoctype
private boolean compiledDoctype
-
-
Constructor Details
-
IndentWriter
-
-
Method Details
-
add
-
append
-
increment
public void increment() -
decrement
public void decrement() -
write
-
toString
-
newline
public void newline() -
prettyIndent
public void prettyIndent(int offset, boolean newline) -
setUseIndent
public void setUseIndent(boolean useIndent) -
setEscape
public void setEscape(boolean escape) -
isEscape
public boolean isEscape() -
isPp
public boolean isPp() -
setCompiledTag
public void setCompiledTag(boolean compiledTag) -
isCompiledTag
public boolean isCompiledTag() -
isCompiledDoctype
public boolean isCompiledDoctype() -
setCompiledDoctype
public void setCompiledDoctype(boolean compiledDoctype)
-