jfun.yan.xml.nuts.optional
Class AssertEqualNut

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

public class AssertEqualNut
extends BinaryAssertionNut

The Nut class to verify that two objects are equal.

Author:
Ben Yu Nov 9, 2005 11:51:38 PM
See Also:
Serialized Form

Constructor Summary
AssertEqualNut()
           
 
Method Summary
 void assertion(java.lang.Object v1, java.lang.Object v2)
          Apply the binary assertion.
 
Methods inherited from class jfun.yan.xml.nuts.optional.BinaryAssertionNut
eval
 
Methods inherited from class jfun.yan.xml.nuts.optional.BinaryNut
getComponent1, getComponent2, getType1, getType2, getVal1, getVal2, isVal1Set, isVal2Set, set, setType1, setType2, setVal1, setVal2
 
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

AssertEqualNut

public AssertEqualNut()
Method Detail

assertion

public void assertion(java.lang.Object v1,
                      java.lang.Object v2)
Description copied from class: BinaryAssertionNut
Apply the binary assertion.

Specified by:
assertion in class BinaryAssertionNut
Parameters:
v1 - the first value.
v2 - the second value.