org.zkoss.zk.ui.metainfo
Class TextInfo

java.lang.Object
  extended by org.zkoss.zk.ui.metainfo.TextInfo
All Implemented Interfaces:
java.io.Serializable

public class TextInfo
extends java.lang.Object
implements java.io.Serializable

Represents a text.

Since:
3.0.0
Author:
tomyeh
See Also:
Serialized Form

Constructor Summary
TextInfo(EvaluatorRef evalr, java.lang.String text)
           
 
Method Summary
 java.lang.String getRawValue()
          Returns the raw value (text).
 java.lang.String getValue(Component comp)
          Returns the value after evaluation.
 java.lang.String getValue(Page page)
          Returns the value after evaluation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextInfo

public TextInfo(EvaluatorRef evalr,
                java.lang.String text)
Parameters:
evalr - the evaluator reference. It cannot be null. Retrieve it from LanguageDefinition.getEvaluatorRef() or PageDefinition.getEvaluatorRef(), depending which it belongs.
Method Detail

getRawValue

public java.lang.String getRawValue()
Returns the raw value (text).


getValue

public java.lang.String getValue(Page page)
Returns the value after evaluation.


getValue

public java.lang.String getValue(Component comp)
Returns the value after evaluation.



Copyright © 2005-2007 Potix Corporation. All Rights Reserved.