Class GiftRegistryMethodTagHandler

  • java.lang.Object
  • All Implemented Interfaces:

    public class GiftRegistryMethodTagHandler
    extends java.lang.Object
    implements NodeHandler
    This class handles the node that represents a normal Java method in a message. The current node's tag will be the method name. In this case, the method name will be the same as the tag name, except that the tag name is also capitalized.
    • Field Summary

      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Object handle(java.lang.Object parent, java.lang.Object currentNode, java.lang.Object[] params)
      Returns of the value that is corresponding to the given current node.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail


        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GiftRegistryMethodTagHandler

        public GiftRegistryMethodTagHandler()
    • Method Detail

      • handle

        public java.lang.Object handle(java.lang.Object parent,
                                       java.lang.Object currentNode,
                                       java.lang.Object[] params)
                                throws java.lang.Exception
        Returns of the value that is corresponding to the given current node.
        Specified by:
        handle in interface NodeHandler
        parent - the parent of the current node
        currentNode - the node that is to be handled
        params - the parameters used for evaluation. Since the current node will be a method, the parameters are the method parameters.
        Object the value of the evaluation