e.printStackTrace(System.err);
  private void publishEvents(String fileName) {        try {      DOMParser parser = new DOMParser();      parser.parse(new InputSource(getConfigFinder().open(fileName)));            // Get a list of all Nodes in the document. "*" Returns all Elements.      NodeList nodes = parser.getDocument().getElementsByTagName("*");      if (log.isDebugEnabled()) {	log.debug("publishEvents: " + this + ": got " + nodes.getLength() + " nodes");      }      for (int i = 0; i < nodes.getLength(); i++) {	Node node = (Node)nodes.item(i);	String nodeName = node.getNodeName();	if (nodeName.equals("EVENTLIST")) {	  // this is the parent node	  // keep going	} else if (nodeName.equals("CYBER")) {	  RealWorldEvent cyber = createCyber(node);	  if (log.isDebugEnabled()) {	    log.debug("publishEvents:" + this + ": Publishing cyber event "+cyber.getUID());	  }	  // Note: The Transducer is responsible for delaying the InfEvent as	  // necessary.	  publishAdd(cyber);	} else if (nodeName.equals("KINETIC")) {	  // Have a Kinetic Event Node	  RealWorldEvent kinetic = createKinetic(node);	  if (log.isDebugEnabled()) {	    log.debug("publishEvents:" + this + ": Publishing kinetic event "+kinetic.getUID());	  }	  // Note: The Transducer is responsible for delaying the InfEvent as	  // necessary.	  publishAdd(kinetic);	} else {	  if (log.isDebugEnabled()) {	    log.debug("publishEvents:" + this + ": got unknown node type");	  }	  if (nodeName.equals("EVENTLIST")) {	    // Have an EventList Node	    if (log.isDebugEnabled()) {	      log.debug("publishEvents:" + this + ": got node type EVENTLIST");	    }	  }	  if (nodeName.equals("PARAM")) {	    // Have a Param Node	    if (log.isDebugEnabled()) {	      log.debug("publishEvents:" + this + ": got node type PARAM");	    }	  }	}      }    } catch (org.xml.sax.SAXParseException spe) {      if (log.isDebugEnabled()) {	log.error("publishEvents: Parse exception Parsing file: " + fileName);      }      spe.printStackTrace(System.err);    } catch (org.xml.sax.SAXException se) {      if (log.isDebugEnabled()) {	log.error("publishEvents: SAX exception parsing file: " + fileName);      }      if (se.getException() != null)	se.getException().printStackTrace(System.err);      else	se.printStackTrace(System.err);    } catch (Exception e) {      if (log.isDebugEnabled()) {	log.error("publishEvents: exception parsing Attack Tree File: " +                    fileName);      }      e.printStackTrace(System.err);    }  }