Class UniqueAnchorNamesValidator

All Implemented Interfaces:
AutoCloseable, Markup, org.apache.maven.doxia.sink.Sink

public class UniqueAnchorNamesValidator extends SinkWrapper
Validates that each anchor name only appears once per document. Otherwise logs a warning.
  • Constructor Details

    • UniqueAnchorNamesValidator

      public UniqueAnchorNamesValidator(org.apache.maven.doxia.sink.Sink sink)
  • Method Details

    • anchor

      public void anchor(String name, org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      anchor in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      anchor in class SinkWrapper