API Overview API Index Package Overview Direct link to this page
JDK 1.6
  org.w3c.dom.traversal. NodeFilter View Source
Author(s)
Since
DOM Level 2
Version
Serial
Hierarchy
 NodeFilter
Subinterfaces
Description
public interface NodeFilter
  Filters are objects that know how to "filter out" nodes.
See also:   
Methods
Hide/Show inherited methods
public short acceptNode (Node n)
  Test whether a specified node is visible in the logical view of a TreeWalker or NodeIterator.
Fields
Hide/Show inherited fields
publicfinalstatic short FILTER_ACCEPT = "1"
  Accept the node.
publicfinalstatic short FILTER_REJECT = "2"
  Reject the node.
publicfinalstatic short FILTER_SKIP = "3"
  Skip this single node.
publicfinalstatic int SHOW_ALL = "-1"
Show all Nodes.
publicfinalstatic int SHOW_ATTRIBUTE = "2"
  Show Attr nodes.
publicfinalstatic int SHOW_CDATA_SECTION = "8"
Show CDATASection nodes.
publicfinalstatic int SHOW_COMMENT = "128"
Show Comment nodes.
publicfinalstatic int SHOW_DOCUMENT = "256"
Show Document nodes.
publicfinalstatic int SHOW_DOCUMENT_FRAGMENT = "1024"
Show DocumentFragment nodes.
publicfinalstatic int SHOW_DOCUMENT_TYPE = "512"
Show DocumentType nodes.
publicfinalstatic int SHOW_ELEMENT = "1"
Show Element nodes.
publicfinalstatic int SHOW_ENTITY = "32"
  Show Entity nodes.
publicfinalstatic int SHOW_ENTITY_REFERENCE = "16"
Show EntityReference nodes.
publicfinalstatic int SHOW_NOTATION = "2048"
  Show Notation nodes.
publicfinalstatic int SHOW_PROCESSING_INSTRUCTION = "64"
Show ProcessingInstruction nodes.
publicfinalstatic int SHOW_TEXT = "4"
Show Text nodes.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar