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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParameter(Parameter param) Method addParametervoiddeserializeParameters(org.apache.axiom.om.OMElement parameters) Since at runtime it parameters may be modified to get the original state this method can be usedgetParameter(String name) Method getParameter.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) voidSave the contents of this object.
-
Constructor Details
-
ParameterIncludeImpl
public ParameterIncludeImpl()Constructor ParameterIncludeImpl.
-
-
Method Details
-
addParameter
Method addParameter- Specified by:
addParameterin interfaceParameterInclude- Parameters:
param-
-
removeParameter
- Specified by:
removeParameterin interfaceParameterInclude- Throws:
AxisFault
-
deserializeParameters
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
Method getParameter.- Specified by:
getParameterin interfaceParameterInclude- Parameters:
name-- Returns:
- Returns parameter.
-
getParameters
Description copied from interface:ParameterIncludeGets all the parameters in a given description.- Specified by:
getParametersin interfaceParameterInclude- Returns:
- Returns ArrayList.
-
isParameterLocked
Description copied from interface:ParameterIncludeChecks whether the parameter is locked at any level.- Specified by:
isParameterLockedin interfaceParameterInclude
-
writeExternal
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
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
-