public class MockEvent
extends java.lang.Object
implements javax.portlet.Event
Event interface.MockEventRequest| Constructor and Description |
|---|
MockEvent(javax.xml.namespace.QName name)
Create a new MockEvent with the given name.
|
MockEvent(javax.xml.namespace.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.
|
public MockEvent(javax.xml.namespace.QName name)
name - the name of the eventpublic MockEvent(javax.xml.namespace.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 eventpublic javax.xml.namespace.QName getQName()
getQName in interface javax.portlet.Eventpublic java.lang.String getName()
getName in interface javax.portlet.Eventpublic java.io.Serializable getValue()
getValue in interface javax.portlet.Event