if (node.getNodeType() == 1)
if (node.getNodeType() == node.TEXT_NODE)
  public void setElement(DMDNode node)  {    String item = node.getPath() + node.getName();        if (node.getNodeType() == 1)    {      String text;      if (node.isNull())      {        text = "";      }      else      {        text = ((DMDTextNode)node).get();      }      setTag(item, text);      joblist_.add(new DMDJobListItem(item));      joblist_.itemModified(item);    }        if (node.getNodeType() == 2)    {      setTag(item, ((DMDNumberNode)node).get());      joblist_.add(new DMDJobListItem(item));      joblist_.itemModified(item);    }      }