Class FilteredAttributes

  • All Implemented Interfaces:
    groovy.lang.Buildable, groovy.lang.GroovyObject, groovy.lang.Writable, Iterable

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

      • FilteredAttributes

        public FilteredAttributes​(GPathResult parent,
                                  groovy.lang.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