public class JavascriptContext extends Object
Constructor and Description |
---|
JavascriptContext() |
JavascriptContext(boolean prettyPrint) |
JavascriptContext(StringBuilder buf,
boolean prettyPrint) |
Modifier and Type | Method and Description |
---|---|
JavascriptContext |
append(char c) |
JavascriptContext |
append(int i) |
JavascriptContext |
append(String str) |
void |
decreaseIndent() |
long |
getCurrentIndentationLevel() |
void |
increaseIndent() |
void |
prettyLine() |
void |
prettyLineDecreaseIndent() |
void |
prettyLineIncreaseIndent() |
void |
setCurrentIndentationLevel(long currentIndentationLevel) |
String |
toString() |
public JavascriptContext()
public JavascriptContext(boolean prettyPrint)
public JavascriptContext(StringBuilder buf, boolean prettyPrint)
public void increaseIndent()
public void decreaseIndent()
public void prettyLine()
public void prettyLineIncreaseIndent()
public void prettyLineDecreaseIndent()
public long getCurrentIndentationLevel()
public void setCurrentIndentationLevel(long currentIndentationLevel)
public JavascriptContext append(String str)
public JavascriptContext append(char c)
public JavascriptContext append(int i)
Copyright © 2020 The Apache Software Foundation. All rights reserved.