1 26 27 package org.objectweb.openccm.descriptor.softpkg.gui; 28 29 import org.objectweb.openccm.descriptor.softpkg.beans.*; 30 import org.objectweb.openccm.descriptor.softpkg.*; 31 32 39 public class SoftpkgZipper 40 { 41 47 53 56 public void 57 zipCall( 58 SoftpkgBean softpkg 59 , org.objectweb.openccm.packaging.ZipFactory zip_factory 60 ) 61 { 62 java.util.List subelement_list; 64 65 subelement_list 67 = softpkg.getDependencyList(); 68 69 for (java.util.Iterator i = subelement_list.iterator() ; i.hasNext() ; ) 71 { 72 DependencyBean sub_element 73 = (DependencyBean) i.next(); 74 75 DependencyZipper sub_zipper 76 = (DependencyZipper) sub_element 77 .getExtensionManager() 78 .getExtensionByName("gui.Zipper") 79 .getInstance(); 80 81 sub_zipper.zipCall(sub_element, zip_factory); 82 } 83 84 subelement_list 86 = softpkg.getDescriptorList(); 87 for (java.util.Iterator i = subelement_list.iterator() ; i.hasNext() ; ) 89 { 90 DescriptorBean sub_element 91 = (DescriptorBean) i.next(); 92 93 DescriptorZipper sub_zipper 94 = (DescriptorZipper) sub_element 95 .getExtensionManager() 96 .getExtensionByName("gui.Zipper") 97 .getInstance(); 98 99 sub_zipper.zipCall(sub_element, zip_factory); 100 } 101 102 subelement_list 104 = softpkg.getIdlList(); 105 for (java.util.Iterator i = subelement_list.iterator() ; i.hasNext() ; ) 107 { 108 IdlBean sub_element 109 = (IdlBean) i.next(); 110 111 IdlZipper sub_zipper 112 = (IdlZipper) sub_element 113 .getExtensionManager() 114 .getExtensionByName("gui.Zipper") 115 .getInstance(); 116 117 sub_zipper.zipCall(sub_element, zip_factory); 118 } 119 120 subelement_list 122 = softpkg.getPropertyfileList(); 123 for (java.util.Iterator i = subelement_list.iterator() ; i.hasNext() ; ) 125 { 126 PropertyfileBean sub_element 127 = (PropertyfileBean) i.next(); 128 129 PropertyfileZipper sub_zipper 130 = (PropertyfileZipper) sub_element 131 .getExtensionManager() 132 .getExtensionByName("gui.Zipper") 133 .getInstance(); 134 135 sub_zipper.zipCall(sub_element, zip_factory); 136 } 137 138 subelement_list 140 = softpkg.getImplementationList(); 141 for (java.util.Iterator i = subelement_list.iterator() ; i.hasNext() ; ) 143 { 144 ImplementationBean sub_element 145 = (ImplementationBean) i.next(); 146 147 ImplementationZipper sub_zipper 148 = (ImplementationZipper) sub_element 149 .getExtensionManager() 150 .getExtensionByName("gui.Zipper") 151 .getInstance(); 152 153 sub_zipper.zipCall(sub_element, zip_factory); 154 } 155 } 156 } 157 | Popular Tags |