private void processChildren(Element node) throws InvalidJNLPException {
      
      //Get the Children
      NodeList nodes = node.getChildNodes();
      for(int i=0;i<nodes.getLength();i++) {
         Node cNode = nodes.item(i);
         String nodeName = cNode.getNodeName();
         
         //skip text nodes
         if(cNode.getNodeType() == Node.TEXT_NODE) continue;
         
         //Information
         if(cNode.getNodeName().equals(InformationNode.NAME)) {
            processInfoNode((Element)cNode);
         }
         
         //Resources
         if(cNode.getNodeName().equals(ResourcesNode.NAME)) {
            processResources((Element)cNode);
         }
         
         //App Desc
         if(cNode.getNodeName().equals(AppDescNode.NAME)) {
            appDescNode = new AppDescNode(codebaseURL, (Element)cNode); 
            type = TYPE_APP;
         }
         
         //Applet Desc
         if(cNode.getNodeName().equals(AppletDescNode.NAME)) {
            appletDescNode = new AppletDescNode(codebaseURL, (Element)cNode); 
            type = TYPE_APPLET;
         }
         
         //Comp Desc
         if(cNode.getNodeName().equals("component-desc")) {
            type = TYPE_COMP;
         }
         
         //Installer Desc
         if(cNode.getNodeName().equals(InstallerDescNode.NAME)) {
            type = TYPE_INSTALLER;
         }
         
         //Security
         if(cNode.getNodeName().equals(SecurityNode.NAME)) {
            securityNode = new SecurityNode(codebaseURL, (Element)cNode);
         }
      }
   }