private void populateDefaultApplications() throws UpgradeException {
  final Document entitlementDoc=getEntitlementXML();
  final NodeList subConfigs=entitlementDoc.getElementsByTagName(SMSUtils.SUB_CONFIG);
  for (int idx=0; idx < subConfigs.getLength(); idx++) {
    final Node subConfig=subConfigs.item(idx);
    final String id=getNodeAttributeValue(subConfig,ID);
    final String name=getNodeAttributeValue(subConfig,NAME);
    if (APPLICATION.equals(id)) {
      defaultApplicationNames.add(name);
    }
  }
}

private void populateDefaultApplications ( ) throws UpgradeException { final Document entitlementDoc = getEntitlementXML ( ) ; final NodeList subConfigs = entitlementDoc . getElementsByTagName ( SMSUtils . SUB_CONFIG ) ; for ( int idx = 0 ; idx < subConfigs . getLength ( ) ; idx ++ ) { final Node subConfig = subConfigs . item ( idx ) ; final String id = getNodeAttributeValue ( subConfig , ID ) ; final String name = getNodeAttributeValue ( subConfig , NAME ) ; if ( APPLICATION . equals ( id ) ) { defaultApplicationNames . add ( name ) ; } } }
find all the default applications that are specified in entitlements . xml .
