jfun.yan.xml.nuts.optional
Class FailNut

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

public class FailNut
extends ComponentNut

A tag that reports error message.

Author:
Ben Yu Nov 11, 2005 3:44:10 PM
See Also:
Serialized Form

Constructor Summary
FailNut()
           
 
Method Summary
 Component eval()
           
 java.lang.String getMsg()
           
 void setMsg(java.lang.String 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

FailNut

public FailNut()
Method Detail

getMsg

public java.lang.String getMsg()

setMsg

public void setMsg(java.lang.String msg)

eval

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