Class JavascriptContext
- java.lang.Object
- 
- org.apache.myfaces.renderkit.html.util.JavascriptContext
 
- 
 public class JavascriptContext extends Object The ScriptContext offers methods and fields to help with rendering out a script and keeping a proper formatting.
- 
- 
Constructor SummaryConstructors Constructor Description JavascriptContext()JavascriptContext(boolean prettyPrint)JavascriptContext(StringBuilder buf, boolean prettyPrint)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description JavascriptContextappend(char c)JavascriptContextappend(int i)JavascriptContextappend(String str)voiddecreaseIndent()longgetCurrentIndentationLevel()voidincreaseIndent()voidprettyLine()voidprettyLineDecreaseIndent()voidprettyLineIncreaseIndent()voidsetCurrentIndentationLevel(long currentIndentationLevel)StringtoString()
 
- 
- 
- 
Constructor Detail- 
JavascriptContextpublic JavascriptContext() 
 - 
JavascriptContextpublic JavascriptContext(boolean prettyPrint) 
 - 
JavascriptContextpublic JavascriptContext(StringBuilder buf, boolean prettyPrint) 
 
- 
 - 
Method Detail- 
increaseIndentpublic void increaseIndent() 
 - 
decreaseIndentpublic void decreaseIndent() 
 - 
prettyLinepublic void prettyLine() 
 - 
prettyLineIncreaseIndentpublic void prettyLineIncreaseIndent() 
 - 
prettyLineDecreaseIndentpublic void prettyLineDecreaseIndent() 
 - 
getCurrentIndentationLevelpublic long getCurrentIndentationLevel() 
 - 
setCurrentIndentationLevelpublic void setCurrentIndentationLevel(long currentIndentationLevel) 
 - 
appendpublic JavascriptContext append(String str) 
 - 
appendpublic JavascriptContext append(char c) 
 - 
appendpublic JavascriptContext append(int i) 
 
- 
 
-