Package de.neuland.pug4j.compiler
Class IndentWriter
- java.lang.Object
-
- de.neuland.pug4j.compiler.IndentWriter
-
public class IndentWriter extends Object
-
-
Constructor Summary
Constructors Constructor Description IndentWriter(Writer writer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndentWriteradd(String string)IndentWriterappend(String string)voiddecrement()voidincrement()booleanisCompiledDoctype()booleanisCompiledTag()booleanisEscape()booleanisPp()voidnewline()voidprettyIndent(int offset, boolean newline)voidsetCompiledDoctype(boolean compiledDoctype)voidsetCompiledTag(boolean compiledTag)voidsetEscape(boolean escape)voidsetUseIndent(boolean useIndent)StringtoString()
-
-
-
Constructor Detail
-
IndentWriter
public IndentWriter(Writer writer)
-
-
Method Detail
-
add
public IndentWriter add(String string)
-
append
public IndentWriter append(String string)
-
increment
public void increment()
-
decrement
public void decrement()
-
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)
-
-