001package headfirst.factory.pizzaaf;
002
003public class ChicagoPizzaIngredientFactory
004implements PizzaIngredientFactory
005{
006
007        public Dough createDough() {
008                return new ThickCrustDough();
009        }
010
011        public Sauce createSauce() {
012                return new PlumTomatoSauce();
013        }
014
015        public Cheese createCheese() {
016                return new MozzarellaCheese();
017        }
018
019        public Veggies[] createVeggies() {
020                Veggies veggies[] = { new BlackOlives(),
021                                new Spinach(),
022                                new Eggplant() };
023                return veggies;
024        }
025
026        public Pepperoni createPepperoni() {
027                return new SlicedPepperoni();
028        }
029
030        public Clams createClam() {
031                return new FrozenClams();
032        }
033}