void AttributeGenerator(String tag, Map<String, String> originalAttributes, AddAttribute adder)

Invokes the adder to generate attributes for the given tag.

originalAttributes contains all attribute names and values in the source tag. This makes it possible to create a attributes and values based on the original tag.

Source

typedef void AttributeGenerator(
    String tag, Map<String, String> originalAttributes, AddAttribute adder);