jfun.yan.xml.nuts.optional
Class PrintNut

java.lang.Object
  extended by jfun.yan.xml.nut.Nut
      extended by jfun.yan.xml.nut.ComponentNut
          extended by jfun.yan.xml.nuts.optional.PrintNut
All Implemented Interfaces:
java.io.Serializable

public class PrintNut
extends ComponentNut

A Nut class that prints a message to the standard output when evaluated.

Author:
Ben Yu Nov 10, 2005 12:07:50 AM
See Also:
Serialized Form

Constructor Summary
PrintNut()
           
 
Method Summary
 Component eval()
           
 java.lang.Object getMsg()
           
 void setMsg(java.lang.Object msg)
           
 
Methods inherited from class jfun.yan.xml.nut.Nut
cast, checkDuplicate, checkMandatory, checkMandatory, convert, getComponentClassLoader, getId, getNutClassLoader, getNutEnvironment, getParameterWiring, getPropertyWiring, getSequenceNumber, getTagLocation, getTagName, initGloballyDefined, initNutEnvironment, initSequenceNumber, initTagLocation, initTagName, isGloballyDefined, raise, raise, register, registerEagerInstantiation, setId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrintNut

public PrintNut()
Method Detail

setMsg

public void setMsg(java.lang.Object msg)

getMsg

public java.lang.Object getMsg()

eval

public Component eval()
Specified by:
eval in class ComponentNut