1 26 27 package org.objectweb.openccm.descriptor.componentassembly.gui; 28 29 import org.objectweb.openccm.descriptor.componentassembly.beans.*; 30 import org.objectweb.openccm.descriptor.componentassembly.*; 31 32 39 public class HomeplacementZipper 40 { 41 47 53 56 public void 57 zipCall( 58 HomeplacementBean homeplacement 59 , org.objectweb.openccm.packaging.ZipFactory zip_factory 60 ) 61 { 62 ComponentpropertiesBean componentproperties 64 = (ComponentpropertiesBean) homeplacement.getComponentproperties(); 65 if (componentproperties != null) 67 { 68 ComponentpropertiesZipper sub_zipper 69 = (ComponentpropertiesZipper) componentproperties 70 .getExtensionManager() 71 .getExtensionByName("gui.Zipper") 72 .getInstance(); 73 74 sub_zipper.zipCall(componentproperties, zip_factory); 75 } 76 77 HomepropertiesBean homeproperties 79 = (HomepropertiesBean) homeplacement.getHomeproperties(); 80 if (homeproperties != null) 82 { 83 HomepropertiesZipper sub_zipper 84 = (HomepropertiesZipper) homeproperties 85 .getExtensionManager() 86 .getExtensionByName("gui.Zipper") 87 .getInstance(); 88 89 sub_zipper.zipCall(homeproperties, zip_factory); 90 } 91 92 java.util.List subelement_list; 94 95 subelement_list 97 = homeplacement.getComponentinstantiationList(); 98 for (java.util.Iterator i = subelement_list.iterator() ; i.hasNext() ; ) 100 { 101 ComponentinstantiationBean sub_element 102 = (ComponentinstantiationBean) i.next(); 103 104 ComponentinstantiationZipper sub_zipper 105 = (ComponentinstantiationZipper) sub_element 106 .getExtensionManager() 107 .getExtensionByName("gui.Zipper") 108 .getInstance(); 109 110 sub_zipper.zipCall(sub_element, zip_factory); 111 } 112 } 113 } 114 | Popular Tags |