Collection res = m_resource.getCapabilityList();
Iterator it = res.iterator();
while ( it.hasNext() )
{
Capability capability = new Capability();
CapabilityImpl ci = ( CapabilityImpl ) it.next();
capability.setName( ci.getName() );
// System.out.println(ci.getName()) ;
if ( !( ci.getName().compareTo( "bundle" ) == 0 ) )
{
Map properties = ci.getProperties();
for ( Iterator e = properties.entrySet().iterator(); e.hasNext(); )
{
PElement p = new PElement();
Map.Entry entry = ( Map.Entry ) e.next();
String key = ( String ) entry.getKey();