org.oXML.xpath.filter
Class NodeTypeFilter

java.lang.Object
  extended byorg.oXML.xpath.filter.NodeTypeFilter
All Implemented Interfaces:
NodeFilter

public class NodeTypeFilter
extends java.lang.Object
implements NodeFilter

implementation of NodeFilter that filters out nodes with matching type


Field Summary
 
Fields inherited from interface org.oXML.xpath.filter.NodeFilter
SHOW_ALL, SHOW_ATTRIBUTE, SHOW_CDATA_SECTION, SHOW_COMMENT, SHOW_DOCUMENT, SHOW_DOCUMENT_TYPE, SHOW_ELEMENT, SHOW_ENTITY, SHOW_ENTITY_REFERENCE, SHOW_NOTATION, SHOW_PROCESSING_INSTRUCTION, SHOW_TEXT
 
Constructor Summary
NodeTypeFilter(int type)
           
 
Method Summary
 boolean acceptNode(Node n)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeTypeFilter

public NodeTypeFilter(int type)
Method Detail

acceptNode

public boolean acceptNode(Node n)
Specified by:
acceptNode in interface NodeFilter

toString

public java.lang.String toString()