com.jmrosengard.xmlbroker.parser
Class Method

java.lang.Object
  |
  +--com.jmrosengard.xmlbroker.parser.Method

public class Method
extends java.lang.Object

Represents a method, according the model:
methodName([{__in|__out_}param1],... )


Field Summary
private  java.lang.String name
           
private  java.util.Hashtable params
           
 
Constructor Summary
(package private) Method()
           
 
Method Summary
 java.lang.String getName()
          Return the method's name
 java.util.Hashtable getOutParams()
          Return a Collection with all the `out' parameters
 Parameter getParam(java.lang.String key)
          Return the Parameter object corresponding to key
 void setActualParam(java.lang.String key, java.lang.String val)
          Bind a value to the method
 void setFormalParam(Parameter param)
          Bind a formal parameter to the method
 void setName(java.lang.String name)
          Set the method's name
 
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

params

private java.util.Hashtable params
Constructor Detail

Method

Method()
Method Detail

setFormalParam

public void setFormalParam(Parameter param)
Bind a formal parameter to the method

setActualParam

public void setActualParam(java.lang.String key,
                           java.lang.String val)
                    throws SoapParsingException
Bind a value to the method

getOutParams

public java.util.Hashtable getOutParams()
Return a Collection with all the `out' parameters

setName

public void setName(java.lang.String name)
Set the method's name

getName

public java.lang.String getName()
Return the method's name

getParam

public Parameter getParam(java.lang.String key)
Return the Parameter object corresponding to key