public class MockEvent extends java.lang.Object implements Event
Event
interface.MockEventRequest
Constructor and Description |
---|
MockEvent(QName name)
Create a new MockEvent with the given name.
|
MockEvent(QName name,
java.io.Serializable value)
Create a new MockEvent with the given name and value.
|
MockEvent(java.lang.String name)
Create a new MockEvent with the given name.
|
MockEvent(java.lang.String name,
java.io.Serializable value)
Create a new MockEvent with the given name and value.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
QName |
getQName() |
java.io.Serializable |
getValue() |
public MockEvent(QName name)
name
- the name of the eventpublic MockEvent(QName name, java.io.Serializable value)
name
- the name of the eventvalue
- the associated payload of the eventpublic MockEvent(java.lang.String name)
name
- the name of the eventpublic MockEvent(java.lang.String name, java.io.Serializable value)
name
- the name of the eventvalue
- the associated payload of the event