Class ProductFactory


  • public class ProductFactory
    extends java.lang.Object
    Factory for creating products
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.logging.Logger LOGGER  
    • Constructor Summary

      Constructors 
      Constructor Description
      ProductFactory()  
    • Method Summary

      Modifier and Type Method Description
      Product makeProduct​(ParserResultElement input)
      Creates Product based on input ParserResultElement.
      • Methods inherited from class java.lang.Object

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

      • LOGGER

        private static final java.util.logging.Logger LOGGER
    • Constructor Detail

      • ProductFactory

        public ProductFactory()
    • Method Detail

      • makeProduct

        public Product makeProduct​(ParserResultElement input)
        Creates Product based on input ParserResultElement.
        Parameters:
        input - data from Product that is created
        Returns:
        created Product