public class EventElement extends Object implements EmbeddedPacketExtension
getEventType()
. The
embedded event information, which is specific to the event type, can be retrieved by the getEvent()
method.Constructor and Description |
---|
EventElement(EventElementType eventType,
NodeExtension eventExt) |
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Returns the root element name.
|
NodeExtension |
getEvent() |
EventElementType |
getEventType() |
List<PacketExtension> |
getExtensions()
Get the list of embedded
PacketExtension objects. |
String |
getNamespace()
Returns the root element XML namespace.
|
String |
toXML()
Returns the XML representation of the PacketExtension.
|
public EventElement(EventElementType eventType, NodeExtension eventExt)
public EventElementType getEventType()
public List<PacketExtension> getExtensions()
EmbeddedPacketExtension
PacketExtension
objects.getExtensions
in interface EmbeddedPacketExtension
PacketExtension
public NodeExtension getEvent()
public String getElementName()
PacketExtension
getElementName
in interface PacketExtension
public String getNamespace()
PacketExtension
getNamespace
in interface PacketExtension
public String toXML()
PacketExtension
toXML
in interface PacketExtension