Class GiftRegistryNewTagTypeHandler

  • java.lang.Object
  • All Implemented Interfaces:

    public class GiftRegistryNewTagTypeHandler
    extends java.lang.Object
    implements NodeHandler
    The handler that handles all the customized message mappings. This handler throws an ECSystemException with the key _DBG_CMD_MIG_NOT_IMPLEMENTED. The cause of the exception will be UnsupportedOperationException. By default, the IBM Gift Center will use this handler for any unrecognized
    • Field Summary

      Modifier and Type Field and Description
      static java.lang.String CLASS_NAME
      Class name
      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)
      Default implementation of the tags that are not recognized.
      • 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
      • CLASS_NAME

        public static final java.lang.String CLASS_NAME
        Class name
    • Constructor Detail

      • GiftRegistryNewTagTypeHandler

        public GiftRegistryNewTagTypeHandler()
    • Method Detail

      • handle

        public java.lang.Object handle(java.lang.Object parent,
                                       java.lang.Object currentNode,
                                       java.lang.Object[] params)
                                throws java.lang.Exception
        Default implementation of the tags that are not recognized. An ECSystemException will be thrown when such new tag is encountered. Overwrite this method to handle any new tags.
        Specified by:
        handle in interface NodeHandler
        parent - the result object from processing the parent node of the given current node
        currentNode - the node to be processed
        params - any parameters needed by the handler
        the result from processing the currentNode
        java.lang.Exception - if the processing fails
        See Also:, java.lang.Object, java.lang.Object[])