|
||||||||||
| 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(java.util.List pipeline)
Constructs a PipelineSink for a given List of Sinks. |
|
| Method Summary | |
|---|---|
void |
addSink(Sink sink)
Add a Sink to the List of Sinks. |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
Invoke a Method on this PipelineSink. |
static Sink |
newInstance(java.util.List 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(java.util.List pipeline)
pipeline - A List of Sinks.| Method Detail |
|---|
public void addSink(Sink sink)
sink - the Sink to add.
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
invoke in interface java.lang.reflect.InvocationHandlerjava.lang.Throwablepublic static Sink newInstance(java.util.List pipeline)
pipeline - A List of Sinks.
Sink object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||