com.sun.xml.ws.model
Class WrapperParameter
java.lang.Object
com.sun.xml.ws.model.ParameterImpl
com.sun.xml.ws.model.WrapperParameter
- All Implemented Interfaces:
- Parameter
public class WrapperParameter
- extends ParameterImpl
ParameterImpl that represents a wrapper,
which is a parameter that consists of multiple nested ParameterImpls
within, which together form a body part.
Java method parameters represented by nested ParameterImpls will be
packed into a "wrapper bean" and it becomes the ParameterImpl for the
body.
This parameter is only used for the ParameterBinding.BODY binding.
Other parameters that bind to other parts (such as headers or unbound)
will show up directly under JavaMethod.
| Methods inherited from class com.sun.xml.ws.model.ParameterImpl |
getBinding, getBridge, getBridge, getHolderValue, getInBinding, getIndex, getMode, getName, getOutBinding, getOwner, getParent, getPartName, getTypeInfo, getTypeReference, getXMLBridge, isIN, isINOUT, isOUT, isResponse, isReturnValue, setBinding, setInBinding, setOutBinding, setPartName, setTypeReference |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wrapperChildren
protected final List<ParameterImpl> wrapperChildren
WrapperParameter
public WrapperParameter(JavaMethodImpl parent,
TypeInfo typeRef,
javax.jws.WebParam.Mode mode,
int index)
isWrapperStyle
public boolean isWrapperStyle()
- Deprecated. Why are you calling a method that always return true?
- Specified by:
isWrapperStyle in interface Parameter- Overrides:
isWrapperStyle in class ParameterImpl
- Returns:
- true if this instanceof
WrapperParameter.
getWrapperChildren
public List<ParameterImpl> getWrapperChildren()
- Returns:
- Returns the wrapperChildren.
addWrapperChild
public void addWrapperChild(ParameterImpl wrapperChild)
- Adds a new child parameter.
- Parameters:
wrapperChild -
clear
public void clear()
fillTypes
void fillTypes(List<TypeInfo> types)
- Overrides:
fillTypes in class ParameterImpl
Copyright (c) 1997-2011 Oracle and/or its affiliates. All rights reserved.