Class XmlNodelistIteratorTools

java.lang.Object
eu.kartoffelquadrat.svgpatcher.XmlNodelistIteratorTools

public final class XmlNodelistIteratorTools extends Object
Helper tool to provide foreach support for xml nodelists.
  • Method Details

    • asList

      public static List<Node> asList(NodeList n)
      Conversion to java List type of w3c provided NodeList object.
      Parameters:
      n - as the NodeList object you want to convert into a java list
      Returns:
      a java list, semantically equivalent to the NodeList provided as input