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 voidaddParameter(Parameter param)Method addParametervoiddeserializeParameters(OMElement parameters)Since at runtime it parameters may be modified to get the original state this method can be usedParametergetParameter(String name)Method getParameter.ArrayList<Parameter>getParameters()Gets all the parameters in a given description.booleanisParameterLocked(String parameterName)Checks whether the parameter is locked at any level.voidreadExternal(ObjectInput inObject)Restore the contents of the object that was previously saved.voidremoveParameter(Parameter param)voidwriteExternal(ObjectOutput o)Save the contents of this object.
-
-
-
Method Detail
-
addParameter
public void addParameter(Parameter param)
Method addParameter- Specified by:
addParameterin interfaceParameterInclude- Parameters:
param-
-
removeParameter
public void removeParameter(Parameter param) throws AxisFault
- Specified by:
removeParameterin 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:
deserializeParametersin interfaceParameterInclude- Parameters:
parameters-OMElement- Throws:
AxisFault
-
getParameter
public Parameter getParameter(String name)
Method getParameter.- Specified by:
getParameterin interfaceParameterInclude- Parameters:
name-- Returns:
- Returns parameter.
-
getParameters
public ArrayList<Parameter> getParameters()
Description copied from interface:ParameterIncludeGets all the parameters in a given description.- Specified by:
getParametersin interfaceParameterInclude- Returns:
- Returns ArrayList.
-
isParameterLocked
public boolean isParameterLocked(String parameterName)
Description copied from interface:ParameterIncludeChecks whether the parameter is locked at any level.- Specified by:
isParameterLockedin 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:
writeExternalin 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:
readExternalin interfaceExternalizable- Parameters:
in- The stream to read the object contents from- Throws:
IOExceptionClassNotFoundException
-
-