|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.doxia.sink.PipelineSink
public class PipelineSink
May be used to invoke the same method on a List of Sinks.
| Constructor Summary | |
|---|---|
PipelineSink(List<Sink> pipeline)
Constructs a PipelineSink for a given List of Sinks. |
|
| Method Summary | |
|---|---|
void |
addSink(Sink sink)
Add a Sink to the List of Sinks. |
Object |
invoke(Object proxy,
Method method,
Object[] args)
Invoke a Method on this PipelineSink. |
static Sink |
newInstance(List<Sink> pipeline)
Returns an instance of a PipelineSink as a Sink. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PipelineSink(List<Sink> pipeline)
pipeline - A List of Sinks.| Method Detail |
|---|
public void addSink(Sink sink)
sink - the Sink to add.
public Object invoke(Object proxy,
Method method,
Object[] args)
throws IllegalAccessException,
InvocationTargetException
invoke in interface InvocationHandlerIllegalAccessException - if any.
InvocationTargetException - if any.public static Sink newInstance(List<Sink> pipeline)
pipeline - A List of Sinks.
Sink object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||