Class DomNodeIterator

java.lang.Object
org.htmlunit.html.DomNodeIterator
All Implemented Interfaces:
NodeIterator

public class DomNodeIterator extends Object implements NodeIterator
An implementation of NodeIterator.
  • Constructor Details

    • DomNodeIterator

      public DomNodeIterator(DomNode root, int whatToShow, NodeFilter filter, boolean expandEntityReferences)
      Creates a new instance.
      Parameters:
      root - The root node at which to begin the NodeIterator's traversal
      whatToShow - an optional int representing a bitmask created by combining the constant properties of NodeFilter
      filter - an object implementing the NodeFilter interface
      expandEntityReferences - If false, the contents of EntityReference nodes are not present in the logical view.
  • Method Details