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