Module org.htmlunit

Class DomNodeIterator

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

public class DomNodeIterator extends Object implements NodeIterator, Serializable
An implementation of NodeIterator.
Author:
Ahmed Ashour, Ronald Brill
See Also:
  • 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
      expandEntityReferences - If false, the contents of EntityReference nodes are not present in the logical view.
      filter - an object implementing the NodeFilter interface
  • Method Details