Class SvgAttributes

java.lang.Object
pro.verron.asciidoc.converters.svg.SvgAttributes
All Implemented Interfaces:
Iterable<SvgAttribute>

public class SvgAttributes extends Object implements Iterable<SvgAttribute>

An ordered, deduplicated collection of SvgAttribute instances.

SvgAttribute.NONE attributes are silently ignored when added. Attributes are sorted by name to produce deterministic SVG output.

  • Constructor Details

    • SvgAttributes

      public SvgAttributes(SvgAttribute... attributes)
      Constructs an attribute set from the given attributes.
      Parameters:
      attributes - initial attributes (none-values are ignored)
  • Method Details