com.ibm.commerce.giftregistry.messaging.programadapter.messagemapper

Class NodeHandlerFactory

  • java.lang.Object
    • com.ibm.commerce.giftregistry.messaging.programadapter.messagemapper.NodeHandlerFactory


  • public class NodeHandlerFactory
    extends java.lang.Object
    This class manufactures NodeHandler based on different types of Node.
    • Field Summary

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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static NodeHandler createNodeHandler(java.lang.Object parentObject, java.lang.Object currentObject)
      Creates NodeHandler based on the type of a node.
      • Methods inherited from class java.lang.Object

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

      • COPYRIGHT

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

      • NodeHandlerFactory

        public NodeHandlerFactory()
    • Method Detail

      • createNodeHandler

        public static NodeHandler createNodeHandler(java.lang.Object parentObject,
                                                    java.lang.Object currentObject)
        Creates NodeHandler based on the type of a node.
        Parameters:
        parentObject - the parent object of the given node
        currentObject - the node that will be processed
        Returns:
        a NodeHandler that matches the given node