Class CreateAnchorsForIndexEntriesFactory

java.lang.Object
org.apache.maven.doxia.sink.impl.CreateAnchorsForIndexEntriesFactory
All Implemented Interfaces:
SinkWrapperFactory

public class CreateAnchorsForIndexEntriesFactory extends Object implements SinkWrapperFactory
  • Constructor Details

    • CreateAnchorsForIndexEntriesFactory

      public CreateAnchorsForIndexEntriesFactory()
  • Method Details

    • createWrapper

      public Sink createWrapper(Sink sink)
      Description copied from interface: SinkWrapperFactory
      By default all wrappers just delegate each method to the wrapped sink's method. For certain Sink methods the wrapper may modify the sink before/after or instead of calling the delegate's method.
      Specified by:
      createWrapper in interface SinkWrapperFactory
      Parameters:
      sink - the delegate
      Returns:
      a new sink wrapping the given one
    • getPriority

      public int getPriority()
      Description copied from interface: SinkWrapperFactory
      Determines the order of sink wrappers. The wrapper factory with the highest priority is called first.
      Specified by:
      getPriority in interface SinkWrapperFactory
      Returns:
      the priority of this factory