HPSearch

cgl.hpsearch.common.xml
Class Parameters

java.lang.Object
  extended bycgl.hpsearch.common.xml.Parameters
All Implemented Interfaces:
Serializable

public class Parameters
extends Object
implements Serializable

Class Parameters.

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

Constructor Summary
Parameters()
           
 
Method Summary
 void addParam(int index, String vParam)
          Method addParam
 void addParam(String vParam)
          Method addParam
 Enumeration enumerateParam()
          Method enumerateParam
 String[] getParam()
          Method getParam
 String getParam(int index)
          Method getParam
 int getParamCount()
          Method getParamCount
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
          Method marshal
 void marshal(Writer out)
          Method marshal
 void removeAllParam()
          Method removeAllParam
 String removeParam(int index)
          Method removeParam
 void setParam(int index, String vParam)
          Method setParam
 void setParam(String[] paramArray)
          Method setParam
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

Parameters

public Parameters()
Method Detail

addParam

public void addParam(String vParam)
              throws IndexOutOfBoundsException
Method addParam

Parameters:
vParam -
Throws:
IndexOutOfBoundsException

addParam

public void addParam(int index,
                     String vParam)
              throws IndexOutOfBoundsException
Method addParam

Parameters:
index -
vParam -
Throws:
IndexOutOfBoundsException

enumerateParam

public Enumeration enumerateParam()
Method enumerateParam


getParam

public String getParam(int index)
                throws IndexOutOfBoundsException
Method getParam

Parameters:
index -
Throws:
IndexOutOfBoundsException

getParam

public String[] getParam()
Method getParam


getParamCount

public int getParamCount()
Method getParamCount


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

removeAllParam

public void removeAllParam()
Method removeAllParam


removeParam

public String removeParam(int index)
Method removeParam

Parameters:
index -

setParam

public void setParam(int index,
                     String vParam)
              throws IndexOutOfBoundsException
Method setParam

Parameters:
index -
vParam -
Throws:
IndexOutOfBoundsException

setParam

public void setParam(String[] paramArray)
Method setParam

Parameters:
paramArray -

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