if (namespaceName!=null && !current.getNamespaceURI().equals(namespaceName)) {
if ((namespaceName==null && current.getNamespaceURI()!=null) || (namespaceName!=null && !namespaceName.equals(current.getNamespaceURI())) ) {
   public static void findChildren(Element parent,String namespaceName,String localName,NodeHandler filter) {      Node current = parent.getFirstChild();      while (current!=null) {         if (current.getNodeType()!=Node.ELEMENT_NODE) {            current = current.getNextSibling();            continue;         }         if (namespaceName!=null && !current.getNamespaceURI().equals(namespaceName)) {            current = current.getNextSibling();            continue;         }         if (current.getLocalName().equals(localName)) {            Node toProcess = current;            current = current.getNextSibling();            filter.process(parent,toProcess);         } else {            current = current.getNextSibling();         }      }   }