public final class ParameterUtil extends Object
Modifier and Type | Method and Description |
---|---|
static org.apache.axis2.description.Parameter |
createParameter(org.apache.axiom.om.OMElement parameterElement)
Create an Axis2 parameter using the given OMElement
|
static org.apache.axis2.description.Parameter |
createParameter(String name,
String value)
Create an Axis2 parameter based on key and value.
|
static org.apache.axis2.description.Parameter |
createParameter(String name,
String value,
boolean locked)
Create an Axis2 parameter based using param name, value and whether it is locked
|
public static org.apache.axis2.description.Parameter createParameter(org.apache.axiom.om.OMElement parameterElement) throws org.apache.axis2.AxisFault
parameterElement
- The OMElement of the parameterorg.apache.axis2.AxisFault
- If the parameterElement
is malformedpublic static org.apache.axis2.description.Parameter createParameter(String name, String value) throws org.apache.axis2.AxisFault
name
- value
- org.apache.axis2.AxisFault
public static org.apache.axis2.description.Parameter createParameter(String name, String value, boolean locked) throws org.apache.axis2.AxisFault
name
- - name of the parametervalue
- - value of the parameterlocked
- - whether it is a locked paramorg.apache.axis2.AxisFault
- - error while creating paramCopyright © 2016 WSO2 Inc. All rights reserved.