com.isti.quakewatch.message
Class QWDataMsgBlock

java.lang.Object
  extended by com.isti.quakewatch.message.QWDataMsgBlock

public class QWDataMsgBlock
extends java.lang.Object

Class DataMessageBlock contains the objects needed to process a QuakeWatch XML data message.


Field Summary
 org.jdom.Element dataMsgElement
           
 org.jdom.Element qwMsgElement
           
 boolean requestedFlag
           
 java.lang.String xmlMsgStr
           
 
Constructor Summary
QWDataMsgBlock(org.jdom.Element qwMsgElement, org.jdom.Element dataMsgElement, java.lang.String xmlMsgStr, boolean requestedFlag)
          Constructs a data block of the objects needed to process an XML data message.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

qwMsgElement

public final org.jdom.Element qwMsgElement

dataMsgElement

public final org.jdom.Element dataMsgElement

xmlMsgStr

public final java.lang.String xmlMsgStr

requestedFlag

public final boolean requestedFlag
Constructor Detail

QWDataMsgBlock

public QWDataMsgBlock(org.jdom.Element qwMsgElement,
                      org.jdom.Element dataMsgElement,
                      java.lang.String xmlMsgStr,
                      boolean requestedFlag)
Constructs a data block of the objects needed to process an XML data message.

Parameters:
qwMsgElement - The "QWmessage" element.
dataMsgElement - The "DataMessage" element.
xmlMsgStr - the XML text message string.
requestedFlag - true to set the "requested" flag on the generated data-message objects (to indicate that they should not be processed as a "real-time" message).