| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdom2.Content
org.jdom2.Text
org.apache.wiki.parser.VariableContent
public class VariableContent

Stores the contents of a WikiVariable in a WikiDocument DOM tree.
  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.
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class org.jdom2.Content | 
|---|
| org.jdom2.Content.CType | 
| Field Summary | 
|---|
| Fields inherited from class org.jdom2.Text | 
|---|
| value | 
| Fields inherited from class org.jdom2.Content | 
|---|
| ctype, parent | 
| Constructor Summary | |
|---|---|
| VariableContent(String varName)Create a VariableContent for the given variable. | |
| Method Summary | |
|---|---|
|  String | getText()Returns exactly getValue(). | 
|  String | getValue()Evaluates the variable and returns the contents. | 
|  String | toString()Returns a debug-suitable string. | 
| Methods inherited from class org.jdom2.Text | 
|---|
| append, append, clone, detach, getParent, getTextNormalize, getTextTrim, normalizeString, setParent, setText | 
| Methods inherited from class org.jdom2.Content | 
|---|
| equals, getCType, getDocument, getNamespacesInherited, getNamespacesInScope, getNamespacesIntroduced, getParentElement, hashCode | 
| Methods inherited from class java.lang.Object | 
|---|
| finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public VariableContent(String varName)
varName - The name of the variable.| Method Detail | 
|---|
public String getValue()
getValue in class org.jdom2.Textpublic String getText()
getText in class org.jdom2.Textpublic String toString()
toString in class org.jdom2.Text| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||