Class FilteredAttributes

All Implemented Interfaces:
Buildable, GroovyObject, Writable, java.lang.Iterable

public class FilteredAttributes
extends Attributes
Lazy evaluated representation of a node's attributes filtered by a Closure.
  • Constructor Details

    • FilteredAttributes

      public FilteredAttributes​(GPathResult parent, Closure closure, java.util.Map<java.lang.String,​java.lang.String> namespaceTagHints)
      Parameters:
      parent - the GPathResult prior to the application of the expression creating this GPathResult
      closure - the Closure to use to filter the attributes
      namespaceTagHints - the known tag to namespace mappings
  • Method Details