1 16 package org.apache.myfaces.config.impl.digester.elements; 17 18 import java.util.List ; 19 import java.util.ArrayList ; 20 21 22 25 public class Factory 26 { 27 28 private List applicationFactory = new ArrayList (); 29 private List facesContextFactory = new ArrayList (); 30 private List lifecycleFactory = new ArrayList (); 31 private List renderkitFactory = new ArrayList (); 32 33 public void addApplicationFactory(String factory) 34 { 35 applicationFactory.add(factory); 36 } 37 38 39 public void addFacesContextFactory(String factory) 40 { 41 facesContextFactory.add(factory); 42 } 43 44 45 public void addLifecycleFactory(String factory) 46 { 47 lifecycleFactory.add(factory); 48 } 49 50 51 public void addRenderkitFactory(String factory) 52 { 53 renderkitFactory.add(factory); 54 } 55 56 57 public List getApplicationFactory() 58 { 59 return applicationFactory; 60 } 61 62 63 public List getFacesContextFactory() 64 { 65 return facesContextFactory; 66 } 67 68 69 public List getLifecycleFactory() 70 { 71 return lifecycleFactory; 72 } 73 74 75 public List getRenderkitFactory() 76 { 77 return renderkitFactory; 78 } 79 } 80 | Popular Tags |