private void processMonitorBlock(Node node) {
    NodeList list = node.getChildNodes();
    for (int i = 0; i < list.getLength(); i++) {
      Node n = list.item(i);

      if ("monitor".equalsIgnoreCase(n.getNodeName())) {
        MonitorLoad loader = new MonitorLoad(n);
        cpn.getMonitors().getMonitor().add(loader.getMonitor());
      }
    }
  }
  private void processInstances(Node node) {
    NodeList list = node.getChildNodes();
    for (int i = 0; i < list.getLength(); i++) {
      Node n = list.item(i);

      if ("instance".equalsIgnoreCase(n.getNodeName())) {
        InstanceLoad loader = new InstanceLoad(n);
        cpn.getInstances().add(loader.getInstanceItens());
      }
    }
  }
  public void threat(Node node) {
    for (int i = 0; i < node.getChildNodes().getLength(); i++) {
      Node n = node.getChildNodes().item(i);

      if ("page".equalsIgnoreCase(n.getNodeName())) {
        PageLoad load = new PageLoad(n);
        cpn.getPage().add(load.getPage());
      } else if ("monitorblock".equalsIgnoreCase(n.getNodeName())) {
        processMonitorBlock(n);
      } else if ("instances".equalsIgnoreCase(n.getNodeName())) {
        processInstances(n);
      } else if ("IndexNode".equalsIgnoreCase(n.getNodeName())) {
        IndexNodeLoad load = new IndexNodeLoad(n);
        cpn.setIndexNode(load.getIndexNode());
      } else if ("globbox".equalsIgnoreCase(n.getNodeName())) {
        GlobboxLoad load = new GlobboxLoad(n);
        cpn.setGlobbox(load.getGlobBox());
      }
    }
  }