public class

MockEvent

extends Object
java.lang.Object
   ↳ org.springframework.mock.web.portlet.MockEvent

Class Overview

Mock implementation of the javax.portlet.Event interface.

See Also

Summary

Public Constructors
MockEvent(QName name)
Create a new MockEvent with the given name.
MockEvent(QName name, Serializable value)
Create a new MockEvent with the given name and value.
MockEvent(String name)
Create a new MockEvent with the given name.
MockEvent(String name, Serializable value)
Create a new MockEvent with the given name and value.
Public Methods
String getName()
QName getQName()
Serializable getValue()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public MockEvent (QName name)

Create a new MockEvent with the given name.

Parameters
name the name of the event

public MockEvent (QName name, Serializable value)

Create a new MockEvent with the given name and value.

Parameters
name the name of the event
value the associated payload of the event

public MockEvent (String name)

Create a new MockEvent with the given name.

Parameters
name the name of the event

public MockEvent (String name, Serializable value)

Create a new MockEvent with the given name and value.

Parameters
name the name of the event
value the associated payload of the event

Public Methods

public String getName ()

public QName getQName ()

public Serializable getValue ()