Class GiftRegistryListTagHandler

  • java.lang.Object
  • All Implemented Interfaces:

    public class GiftRegistryListTagHandler
    extends java.lang.Object
    implements NodeHandler
    The handler handles the node that represents a collection. The node should be a tag, and the name of the tag will be corresponding to a collection. For example, GiftRegistryVO#getRegistrants() returns a collection of registrants. Then, the "Registrants" tag below will be handled by this handler, as it indicates a collection of registrants.
    • Field Summary

      Modifier and Type Field and Description
      static java.lang.String CLASS_NAME
      name of this class
      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)
      Creates a list object that is corresponding to an XML 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
      • CLASS_NAME

        public static final java.lang.String CLASS_NAME
        name of this class
    • Constructor Detail

      • GiftRegistryListTagHandler

        public GiftRegistryListTagHandler()
    • Method Detail

      • handle

        public java.lang.Object handle(java.lang.Object parent,
                                       java.lang.Object currentNode,
                                       java.lang.Object[] params)
                                throws java.lang.Exception
        Creates a list object that is corresponding to an XML node.
        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
        a list of values corresponding to the given node
        java.lang.Exception - if the processing fails
        See Also:, java.lang.Object, java.lang.Object[])