Package org.apache.maven.doxia.sink.impl
Class EventCapturingSinkProxy
java.lang.Object
org.apache.maven.doxia.sink.impl.EventCapturingSinkProxy
- All Implemented Interfaces:
InvocationHandler
A proxy for a Sink which captures all event/method names called on it.
-
Method Summary
-
Method Details
-
newInstance
public static org.apache.maven.doxia.sink.Sink newInstance(org.apache.maven.doxia.sink.Sink sink, List<String> capturedEventNames) - Parameters:
sink
-capturedEventNames
- the list to receive the captured event/method names- Returns:
- a new, proxied sink
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-