Composite comp = (Composite) type; for (int i = 1; i <= profile.getComponents(); i++) { Component childProfile = profile.getComponent(i); try { Type child = comp.getComponent(i - 1);
Composite comp = (Composite) type; for (int i = 1; i <= profile.getComponents(); i++) { Component childProfile = profile.getComponent(i); try { Type child = comp.getComponent(i - 1);