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 733395 2009-01-10 23:09:40Z 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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.


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