org.gxos.schema
Class GMSMessageID

java.lang.Object
  |
  +--org.gxos.schema.MessageID
        |
        +--org.gxos.schema.GMSMessageID
All Implemented Interfaces:
java.io.Serializable

public class GMSMessageID
extends MessageID
implements java.io.Serializable

Unique ID of message including sequencing Information. This is discussed by Shrideep. For Garnet Message is uniquely specified by GXOS Handle in InternalND DTD of Stream and Sequence Number within Stream

See Also:
Serialized Form

Constructor Summary
GMSMessageID()
           
 
Method Summary
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
static GMSMessageID unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class org.gxos.schema.MessageID
getGMSSequenceNumber, getGMSStream, getIDtostring, setGMSSequenceNumber, setGMSStream, setIDtostring
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GMSMessageID

public GMSMessageID()
Method Detail

isValid

public boolean isValid()
Overrides:
isValid in class MessageID

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Overrides:
marshal in class MessageID
Parameters:
out -  

marshal

public void marshal(org.xml.sax.DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Overrides:
marshal in class MessageID
Parameters:
handler -  

unmarshal

public static GMSMessageID unmarshal(java.io.Reader reader)
                              throws org.exolab.castor.xml.MarshalException,
                                     org.exolab.castor.xml.ValidationException
Parameters:
reader -  

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Overrides:
validate in class MessageID