public class MockEvent extends Object implements Event
Event
interface.MockEventRequest
Constructor and Description |
---|
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 MockEvent(QName name)
name
- the name of the eventpublic MockEvent(QName name, Serializable value)
name
- the name of the eventvalue
- the associated payload of the eventpublic MockEvent(String name)
name
- the name of the eventpublic MockEvent(String name, Serializable value)
name
- the name of the eventvalue
- the associated payload of the event