Interface IElementVisitor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit head(Element node, Integer depth) Callback for when a node is first visited.
      Unit tail(Element node, Integer depth) Callback for when a node is last visited, after all of its descendants have been visited.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • head

         abstract Unit head(Element node, Integer depth)

        Callback for when a node is first visited.

        Parameters:
        node - the node being visited.
        depth - the depth of the node, relative to the root node.
      • tail

         Unit tail(Element node, Integer depth)

        Callback for when a node is last visited, after all of its descendants have been visited.

        Parameters:
        node - the node being visited.
        depth - the depth of the node, relative to the root node.