Package org.apache.axis2.description
Class ParameterIncludeImpl
- java.lang.Object
-
- org.apache.axis2.description.ParameterIncludeImpl
-
- All Implemented Interfaces:
Externalizable
,Serializable
,SafeSerializable
,ParameterInclude
public class ParameterIncludeImpl extends Object implements ParameterInclude, Externalizable, SafeSerializable
Class ParameterIncludeImpl- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParameterIncludeImpl()
Constructor ParameterIncludeImpl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addParameter(Parameter param)
Method addParametervoid
deserializeParameters(OMElement parameters)
Since at runtime it parameters may be modified to get the original state this method can be usedParameter
getParameter(String name)
Method getParameter.ArrayList<Parameter>
getParameters()
Gets all the parameters in a given description.boolean
isParameterLocked(String parameterName)
Checks whether the parameter is locked at any level.void
readExternal(ObjectInput inObject)
Restore the contents of the object that was previously saved.void
removeParameter(Parameter param)
void
writeExternal(ObjectOutput o)
Save the contents of this object.
-
-
-
Method Detail
-
addParameter
public void addParameter(Parameter param)
Method addParameter- Specified by:
addParameter
in interfaceParameterInclude
- Parameters:
param
-
-
removeParameter
public void removeParameter(Parameter param) throws AxisFault
- Specified by:
removeParameter
in interfaceParameterInclude
- Throws:
AxisFault
-
deserializeParameters
public void deserializeParameters(OMElement parameters) throws AxisFault
Since at runtime it parameters may be modified to get the original state this method can be used- Specified by:
deserializeParameters
in interfaceParameterInclude
- Parameters:
parameters
-OMElement
- Throws:
AxisFault
-
getParameter
public Parameter getParameter(String name)
Method getParameter.- Specified by:
getParameter
in interfaceParameterInclude
- Parameters:
name
-- Returns:
- Returns parameter.
-
getParameters
public ArrayList<Parameter> getParameters()
Description copied from interface:ParameterInclude
Gets all the parameters in a given description.- Specified by:
getParameters
in interfaceParameterInclude
- Returns:
- Returns ArrayList.
-
isParameterLocked
public boolean isParameterLocked(String parameterName)
Description copied from interface:ParameterInclude
Checks whether the parameter is locked at any level.- Specified by:
isParameterLocked
in interfaceParameterInclude
-
writeExternal
public void writeExternal(ObjectOutput o) throws IOException
Save the contents of this object. NOTE: Transient fields and static fields are not saved. Also, objects that represent "static" data are not saved, except for enough information to be able to find matching objects when the message context is re-constituted.- Specified by:
writeExternal
in interfaceExternalizable
- Parameters:
out
- The stream to write the object contents to- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput inObject) throws IOException, ClassNotFoundException
Restore the contents of the object that was previously saved. NOTE: The field data must read back in the same order and type as it was written. Some data will need to be validated when resurrected.- Specified by:
readExternal
in interfaceExternalizable
- Parameters:
in
- The stream to read the object contents from- Throws:
IOException
ClassNotFoundException
-
-