samples.idl.mesgPort
Class NameValuePair

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

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

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

Field Summary
private  java.lang.String _name
           
private  java.lang.String _value
           
 
Constructor Summary
NameValuePair()
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.String getValue()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setName(java.lang.String _name)
           
 void setValue(java.lang.String _value)
           
static NameValuePair 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

_name

private java.lang.String _name

_value

private java.lang.String _value
Constructor Detail

NameValuePair

public NameValuePair()
Method Detail

getName

public java.lang.String getName()

getValue

public java.lang.String getValue()

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 -  

setName

public void setName(java.lang.String _name)
Parameters:
_name -  

setValue

public void setValue(java.lang.String _value)
Parameters:
_value -  

unmarshal

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