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<ExtensionElement> |
getExtensions()
Get the list of embedded
ExtensionElement objects. |
String |
getNamespace()
Returns the root element XML namespace.
|
String |
toXML()
Returns the XML representation of this Element.
|
public EventElement(EventElementType eventType, NodeExtension eventExt)
public EventElementType getEventType()
public List<ExtensionElement> getExtensions()
EmbeddedPacketExtension
ExtensionElement
objects.getExtensions
in interface EmbeddedPacketExtension
ExtensionElement
public NodeExtension getEvent()
public String getElementName()
NamedElement
getElementName
in interface NamedElement
public String getNamespace()
ExtensionElement
getNamespace
in interface ExtensionElement