Package org.apache.maven.doxia.sink.impl
Class UniqueAnchorNamesValidatorFactory
- java.lang.Object
-
- org.apache.maven.doxia.sink.impl.UniqueAnchorNamesValidatorFactory
-
- All Implemented Interfaces:
SinkWrapperFactory
@Named("unique-anchors-validator") public class UniqueAnchorNamesValidatorFactory extends java.lang.Object implements SinkWrapperFactory
-
-
Constructor Summary
Constructors Constructor Description UniqueAnchorNamesValidatorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.maven.doxia.sink.Sink
createWrapper(org.apache.maven.doxia.sink.Sink sink)
By default all wrappers just delegate each method to the wrapped sink's method.int
getPriority()
Determines the order of sink wrappers.
-
-
-
Method Detail
-
createWrapper
public org.apache.maven.doxia.sink.Sink createWrapper(org.apache.maven.doxia.sink.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 interfaceSinkWrapperFactory
- 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 interfaceSinkWrapperFactory
- Returns:
- the priority of this factory
-
-