Package org.apache.maven.doxia.sink.impl
Class PipelineSink
java.lang.Object
org.apache.maven.doxia.sink.impl.PipelineSink
- All Implemented Interfaces:
InvocationHandler
Deprecated.
May be used to invoke the same method on a List of Sinks.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPipelineSink
(List<Sink> pipeline) Deprecated.Constructs a PipelineSink for a given List of Sinks. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Add a Sink to the List of Sinks.Deprecated.Invoke a Method on this PipelineSink.static Sink
newInstance
(List<Sink> pipeline) Deprecated.Returns an instance of a PipelineSink as a Sink.
-
Field Details
-
pipeline
Deprecated.
-
-
Constructor Details
-
PipelineSink
Deprecated.Constructs a PipelineSink for a given List of Sinks.- Parameters:
pipeline
- A List of Sinks.
-
-
Method Details
-
addSink
Deprecated.Add a Sink to the List of Sinks.- Parameters:
sink
- the Sink to add.
-
invoke
public Object invoke(Object proxy, Method method, Object[] args) throws IllegalAccessException, InvocationTargetException Deprecated.Invoke a Method on this PipelineSink.- Specified by:
invoke
in interfaceInvocationHandler
- Parameters:
proxy
- aObject
object.method
- aMethod
object.args
- an array ofObject
objects.- Returns:
- a
Object
object. - Throws:
IllegalAccessException
- if any.InvocationTargetException
- if any.
-
newInstance
Deprecated.Returns an instance of a PipelineSink as a Sink.- Parameters:
pipeline
- A List of Sinks.- Returns:
- a
Sink
object.
-
SinkWrapper
approach which doesn't require the use of dynamic proxies.