HPSearch

cgl.hpsearch.common.xml
Class NameValue

java.lang.Object
  extended bycgl.hpsearch.common.xml.NameValue
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Parameter

public class NameValue
extends Object
implements Serializable

Class NameValue.

Version:
$Revision: 1.1 $ $Date: 2005/10/16 14:40:45 $
See Also:
Serialized Form

Constructor Summary
NameValue()
           
 
Method Summary
 String getName()
          Returns the value of field 'name'.
 String getValue()
          Returns the value of field 'value'.
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
          Method marshal
 void marshal(Writer out)
          Method marshal
 void setName(String name)
          Sets the value of field 'name'.
 void setValue(String value)
          Sets the value of field 'value'.
static Object unmarshal(Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameValue

public NameValue()
Method Detail

getName

public String getName()
Returns the value of field 'name'.

Returns:
the value of field 'name'.

getValue

public String getValue()
Returns the value of field 'value'.

Returns:
the value of field 'value'.

isValid

public boolean isValid()
Method isValid


marshal

public void marshal(Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(ContentHandler handler)
             throws IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setName

public void setName(String name)
Sets the value of field 'name'.

Parameters:
name - the value of field 'name'.

setValue

public void setValue(String value)
Sets the value of field 'value'.

Parameters:
value - the value of field 'value'.

unmarshal

public static Object unmarshal(Reader reader)
                        throws org.exolab.castor.xml.MarshalException,
                               org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException

HPSearch

For comments and suggestions please send e-mail to Harshawardhan Gadgil
Last updated: June 9 2006