samples.idl.mesgPort
Class Message

java.lang.Object
  |
  +--samples.idl.mesgPort.Message
All Implemented Interfaces:
java.io.Serializable

public class Message
extends java.lang.Object
implements java.io.Serializable

Version:
$Revision: 1.1 $ $Date: 2001/12/25 01:10:37 $
See Also:
Serialized Form

Field Summary
private  java.util.Vector _nameValuePairList
           
private  java.lang.String _source
           
 
Constructor Summary
Message()
           
 
Method Summary
 void addNameValuePair(NameValuePair vNameValuePair)
           
 java.util.Enumeration enumerateNameValuePair()
           
 NameValuePair[] getNameValuePair()
           
 NameValuePair getNameValuePair(int index)
           
 int getNameValuePairCount()
           
 java.lang.String getSource()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void removeAllNameValuePair()
           
 NameValuePair removeNameValuePair(int index)
           
 void setNameValuePair(NameValuePair[] nameValuePairArray)
           
 void setNameValuePair(NameValuePair vNameValuePair, int index)
           
 void setSource(java.lang.String _source)
           
static Message unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

_source

private java.lang.String _source

_nameValuePairList

private java.util.Vector _nameValuePairList
Constructor Detail

Message

public Message()
Method Detail

addNameValuePair

public void addNameValuePair(NameValuePair vNameValuePair)
                      throws java.lang.IndexOutOfBoundsException
Parameters:
vNameValuePair -  

enumerateNameValuePair

public java.util.Enumeration enumerateNameValuePair()

getNameValuePair

public NameValuePair getNameValuePair(int index)
                               throws java.lang.IndexOutOfBoundsException
Parameters:
index -  

getNameValuePair

public NameValuePair[] getNameValuePair()

getNameValuePairCount

public int getNameValuePairCount()

getSource

public java.lang.String getSource()

isValid

public boolean isValid()

marshal

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

marshal

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

removeAllNameValuePair

public void removeAllNameValuePair()

removeNameValuePair

public NameValuePair removeNameValuePair(int index)
Parameters:
index -  

setNameValuePair

public void setNameValuePair(NameValuePair vNameValuePair,
                             int index)
                      throws java.lang.IndexOutOfBoundsException
Parameters:
vNameValuePair -  
index -  

setNameValuePair

public void setNameValuePair(NameValuePair[] nameValuePairArray)
Parameters:
nameValuePairArray -  

setSource

public void setSource(java.lang.String _source)
Parameters:
_source -  

unmarshal

public static Message 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