org.apache.axis2.transport.base
Class ParamUtils

java.lang.Object
  extended by org.apache.axis2.transport.base.ParamUtils

public class ParamUtils
extends java.lang.Object

Utility class with methods to manipulate service or transport parameters.


Method Summary
static java.lang.String getOptionalParam(org.apache.axis2.description.ParameterInclude paramInclude, java.lang.String paramName)
           
static boolean getOptionalParamBoolean(org.apache.axis2.description.ParameterInclude paramInclude, java.lang.String paramName, boolean defaultValue)
           
static java.lang.Integer getOptionalParamInt(org.apache.axis2.description.ParameterInclude paramInclude, java.lang.String paramName)
           
static int getOptionalParamInt(org.apache.axis2.description.ParameterInclude paramInclude, java.lang.String paramName, int defaultValue)
           
static java.lang.String getRequiredParam(org.apache.axis2.description.ParameterInclude paramInclude, java.lang.String paramName)
           
static int getRequiredParamInt(org.apache.axis2.description.ParameterInclude paramInclude, java.lang.String paramName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRequiredParam

public static java.lang.String getRequiredParam(org.apache.axis2.description.ParameterInclude paramInclude,
                                                java.lang.String paramName)
                                         throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

getOptionalParam

public static java.lang.String getOptionalParam(org.apache.axis2.description.ParameterInclude paramInclude,
                                                java.lang.String paramName)
                                         throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

getOptionalParamInt

public static java.lang.Integer getOptionalParamInt(org.apache.axis2.description.ParameterInclude paramInclude,
                                                    java.lang.String paramName)
                                             throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

getOptionalParamInt

public static int getOptionalParamInt(org.apache.axis2.description.ParameterInclude paramInclude,
                                      java.lang.String paramName,
                                      int defaultValue)
                               throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

getOptionalParamBoolean

public static boolean getOptionalParamBoolean(org.apache.axis2.description.ParameterInclude paramInclude,
                                              java.lang.String paramName,
                                              boolean defaultValue)
                                       throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

getRequiredParamInt

public static int getRequiredParamInt(org.apache.axis2.description.ParameterInclude paramInclude,
                                      java.lang.String paramName)
                               throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.