protected void getStackTraceFrame(Node item, StringBuilder sb) {
    NodeList childNodes = item.getChildNodes();

    String clazz = null;
    String method = null;
    String line = null;
    for (int i = 0; i < childNodes.getLength(); i++) {
      Node childNode = childNodes.item(i);
      String tagName = childNode.getNodeName();
      if (tagName.equalsIgnoreCase("class")) {
        clazz = getCData(childNode);
      } else if (tagName.equalsIgnoreCase("method")) {
        method = getCData(childNode);
      } else if (tagName.equalsIgnoreCase("line")) {
        line = getCData(childNode);
      }
    }

    //default string if clazz does not contain package
    String fileName = extractFileName(clazz);

    appendStackFrame(sb, clazz, method, line, fileName);

  }
Given a Document, converts the XML into a Vector of LoggingEvents.

@param document XML document
olv-core/src/main/java/pl/otros/logview/importer/UtilLoggingXmlLogImporter.java