public class VariableContent extends org.jdom2.Text
When the WikiDocument is rendered, if the RenderingManager.WYSIWYG_EDITOR_MODE
is set to Boolean.TRUE, the variable declaration is rendered instead
of the variable value.
| Constructor and Description |
|---|
VariableContent(String varName)
Create a VariableContent for the given variable.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getText()
Returns exactly getValue().
|
String |
getValue()
Evaluates the variable and returns the contents.
|
String |
toString()
Returns a debug-suitable string.
|
append, append, clone, detach, getParent, getTextNormalize, getTextTrim, normalizeString, setParent, setTextpublic VariableContent(String varName)
varName - The name of the variable.public String getValue()
getValue in class org.jdom2.Textpublic String getText()
getText in class org.jdom2.TextCopyright © 2001-2019 The Apache Software Foundation. All rights reserved.