Interface AttrVisitor

All Known Implementing Classes:
WhitespaceTrimmingVisitor

@ThreadSafe public interface AttrVisitor
Provides a variation of the Visitor pattern for performing operations on DOM attributes which are part of Element items.

All implementations of this interface must be thread-safe.

Since:
0.9.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    visitAttr(Attr visited, Item<Element> item)
    Called on each Attr visited as part of the processing of an Element item.
  • Method Details

    • visitAttr

      void visitAttr(@Nonnull Attr visited, @Nonnull Item<Element> item)
      Called on each Attr visited as part of the processing of an Element item.
      Parameters:
      visited - the Attr being visited.
      item - the Item which is the context for the visit.