XmlTreeNodeFilter.java

/*
 * Copyright (c) 2003-2004 Woehrmann Softwareentwicklung
 *
 * @author  Hermann Woehrmann
 *
 * Description:
 *
 * Version Date       Comments
 * 2.01.01 04.09.2003 created
 *
 */

import org.w3c.dom.*;

/**
 * Filters the node elements of an XmlTreeModel.
 */
public interface XmlTreeNodeFilter
{
/**
 * Defines if a given Element should be visible within an XmlTreeModel.
 *
 * @param nodeElement as the Element to be investigated.
 *
 * @return boolean <code>true</code> if the given Element should be visible otherwise <code>false</code>.
 */
  public boolean isVisibleXmlTreeNode(Node nodeElement);
}