org.apache.maven.doxia.sink
Class SinkEventElement

java.lang.Object
  extended by org.apache.maven.doxia.sink.SinkEventElement

public class SinkEventElement
extends Object

A single sink event, used for testing purposes in order to check the order and effect of some parser events.

Since:
1.1
Version:
$Id: SinkEventElement.java 1091043 2011-04-11 11:44:39Z ltheussl $
Author:
ltheussl

Constructor Summary
SinkEventElement(String name, Object[] arguments)
          A SinkEventElement is characterized by the method name and associated array of arguments.
 
Method Summary
 Object[] getArgs()
          Return the array of arguments to the sink method.
 String getName()
          Return the name of the this event.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SinkEventElement

public SinkEventElement(String name,
                        Object[] arguments)
A SinkEventElement is characterized by the method name and associated array of arguments.

Parameters:
name - The name of the sink event, ie the sink method name.
arguments - The array of arguments to the sink method. For a no-arg element this may be null or an empty array.
Method Detail

getName

public String getName()
Return the name of the this event.

Returns:
The name of the sink event.

getArgs

public Object[] getArgs()
Return the array of arguments to the sink method.

Returns:
the array of arguments to the sink method.

toString

public String toString()

Overrides:
toString in class Object
Since:
1.1.1


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.