com.ecyrd.jspwiki.parser
Class VariableContent

java.lang.Object
  extended by org.jdom.Content
      extended by org.jdom.Text
          extended by com.ecyrd.jspwiki.parser.VariableContent
All Implemented Interfaces:
Serializable, Cloneable

public class VariableContent
extends Text

Stores the contents of a WikiVariable in a WikiDocument DOM tree.

Since:
2.4
Author:
Janne Jalkanen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jdom.Text
value
 
Fields inherited from class org.jdom.Content
parent
 
Constructor Summary
VariableContent(String varName)
           
 
Method Summary
 String getText()
           
 String getValue()
          Evaluates the variable and returns the contents.
 String toString()
           
 
Methods inherited from class org.jdom.Text
append, append, clone, getTextNormalize, getTextTrim, normalizeString, setText
 
Methods inherited from class org.jdom.Content
detach, equals, getDocument, getParent, getParentElement, hashCode, setParent
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VariableContent

public VariableContent(String varName)
Method Detail

getValue

public String getValue()
Evaluates the variable and returns the contents.

Overrides:
getValue in class Text

getText

public String getText()
Overrides:
getText in class Text

toString

public String toString()
Overrides:
toString in class Text