org.openejb.alt.config.ejb11
Class MethodParams

java.lang.Object
  extended by org.openejb.alt.config.ejb11.MethodParams
All Implemented Interfaces:
java.io.Serializable

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

Class MethodParams.

Version:
$Revision: 1104 $ $Date: 2004-03-30 16:44:02 -0800 (Tue, 30 Mar 2004) $
See Also:
Serialized Form

Constructor Summary
MethodParams()
           
 
Method Summary
 void addMethodParam(int index, java.lang.String vMethodParam)
          Method addMethodParam
 void addMethodParam(java.lang.String vMethodParam)
          Method addMethodParam
 java.util.Enumeration enumerateMethodParam()
          Method enumerateMethodParam
 java.lang.String getId()
          Returns the value of field 'id'.
 java.lang.String[] getMethodParam()
          Method getMethodParam
 java.lang.String getMethodParam(int index)
          Method getMethodParam
 int getMethodParamCount()
          Method getMethodParamCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void removeAllMethodParam()
          Method removeAllMethodParam
 java.lang.String removeMethodParam(int index)
          Method removeMethodParam
 void setId(java.lang.String id)
          Sets the value of field 'id'.
 void setMethodParam(int index, java.lang.String vMethodParam)
          Method setMethodParam
 void setMethodParam(java.lang.String[] methodParamArray)
          Method setMethodParam
static java.lang.Object unmarshal(java.io.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

MethodParams

public MethodParams()
Method Detail

addMethodParam

public void addMethodParam(java.lang.String vMethodParam)
                    throws java.lang.IndexOutOfBoundsException
Method addMethodParam

Parameters:
vMethodParam -
Throws:
java.lang.IndexOutOfBoundsException

addMethodParam

public void addMethodParam(int index,
                           java.lang.String vMethodParam)
                    throws java.lang.IndexOutOfBoundsException
Method addMethodParam

Parameters:
index -
vMethodParam -
Throws:
java.lang.IndexOutOfBoundsException

enumerateMethodParam

public java.util.Enumeration enumerateMethodParam()
Method enumerateMethodParam


getId

public java.lang.String getId()
Returns the value of field 'id'.

Returns:
the value of field 'id'.

getMethodParam

public java.lang.String getMethodParam(int index)
                                throws java.lang.IndexOutOfBoundsException
Method getMethodParam

Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getMethodParam

public java.lang.String[] getMethodParam()
Method getMethodParam


getMethodParamCount

public int getMethodParamCount()
Method getMethodParamCount


isValid

public boolean isValid()
Method isValid


marshal

public void marshal(java.io.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(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

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

removeAllMethodParam

public void removeAllMethodParam()
Method removeAllMethodParam


removeMethodParam

public java.lang.String removeMethodParam(int index)
Method removeMethodParam

Parameters:
index -

setId

public void setId(java.lang.String id)
Sets the value of field 'id'.

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

setMethodParam

public void setMethodParam(int index,
                           java.lang.String vMethodParam)
                    throws java.lang.IndexOutOfBoundsException
Method setMethodParam

Parameters:
index -
vMethodParam -
Throws:
java.lang.IndexOutOfBoundsException

setMethodParam

public void setMethodParam(java.lang.String[] methodParamArray)
Method setMethodParam

Parameters:
methodParamArray -

unmarshal

public static java.lang.Object unmarshal(java.io.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


Copyright © 1999-2011 OpenEJB. All Rights Reserved.