protected static class TestXmlEvent.SequenceXmlEvent extends TestXmlEvent implements AbstractTestVerifier.SequenceEventDefinition
TestXmlEvent
for holding sequence numbers.TestXmlEvent.DataXmlEvent, TestXmlEvent.ErrorXmlEvent, TestXmlEvent.ReceiverXmlVerifier, TestXmlEvent.SenderXmlVerifier, TestXmlEvent.SequenceXmlEvent, TestXmlEvent.TestXmlEventType
Constructor and Description |
---|
TestXmlEvent.SequenceXmlEvent(long seqNo,
int nMessages,
Source<TestXmlEvent,SourceType> source)
Default constructor.
|
TestXmlEvent.SequenceXmlEvent(Node contentNode,
Source<TestXmlEvent,SourceType> source)
Alternate constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
getContents(Node contentNode)
Transfers the contents of this event into the given DOM
Node . |
long |
getSeqNo()
Gets the sequence number.
|
int |
nMessages()
Gets the number of messages.
|
getSource, getType, parse, toDom
public TestXmlEvent.SequenceXmlEvent(long seqNo, int nMessages, Source<TestXmlEvent,SourceType> source)
public TestXmlEvent.SequenceXmlEvent(Node contentNode, Source<TestXmlEvent,SourceType> source)
protected void getContents(Node contentNode)
TestXmlEvent
Node
.getContents
in class TestXmlEvent
public long getSeqNo()
AbstractTestVerifier.SequenceEventDefinition
getSeqNo
in interface AbstractTestVerifier.SequenceEventDefinition
public int nMessages()
AbstractTestVerifier.SequenceEventDefinition
nMessages
in interface AbstractTestVerifier.SequenceEventDefinition