Class FilteredAttributes

All Implemented Interfaces:
Buildable, GroovyObject, Writable, 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, Map<String,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