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
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
_source
private java.lang.String _source
_nameValuePairList
private java.util.Vector _nameValuePairList
Message
public Message()
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