2016/05/28 - Apache Tuscany has been retired.
For more information, please explore the Attic.
org.apache.tuscany.sca.interfacedef.util
Class WrapperInfo
java.lang.Object
org.apache.tuscany.sca.interfacedef.util.WrapperInfo
public class WrapperInfo
- extends java.lang.Object
The "Wrapper Style" WSDL operation is defined by The Java API for XML-Based
Web Services (JAX-WS) 2.0 specification, section 2.3.1.2 Wrapper Style.
A WSDL operation qualifies for wrapper style mapping only if the following
criteria are met:
- (i) The operation�s input and output messages (if present) each contain
only a single part
- (ii) The input message part refers to a global element declaration whose
localname is equal to the operation name
- (iii) The output message part refers to a global element declaration
- (iv) The elements referred to by the input and output message parts
(henceforth referred to as wrapper elements) are both complex types defined
using the xsd:sequence compositor
- (v) The wrapper elements only contain child elements, they must not
contain other structures such as wildcards (element or attribute),
xsd:choice, substitution groups (element references are not permitted) or
attributes; furthermore, they must not be nillable.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WrapperInfo
public WrapperInfo(java.lang.String dataBinding,
ElementInfo inputWrapperElement,
ElementInfo outputWrapperElement,
java.util.List<ElementInfo> inputElements,
java.util.List<ElementInfo> outputElements)
getInputChildElements
public java.util.List<ElementInfo> getInputChildElements()
- Returns:
- the inputElements
getInputWrapperElement
public ElementInfo getInputWrapperElement()
- Returns:
- the inputWrapperElement
getOutputChildElements
public java.util.List<ElementInfo> getOutputChildElements()
- Returns:
- the outputElements
getOutputWrapperElement
public ElementInfo getOutputWrapperElement()
- Returns:
- the outputWrapperElement
getUnwrappedInputType
public DataType<java.util.List<DataType>> getUnwrappedInputType()
- Returns:
- the unwrappedInputType
getUnwrappedOutputType
public DataType getUnwrappedOutputType()
- Returns:
- the unwrappedOutputType
getInputWrapperClass
public java.lang.Class<?> getInputWrapperClass()
getOutputWrapperClass
public java.lang.Class<?> getOutputWrapperClass()
getDataBinding
public java.lang.String getDataBinding()
setDataBinding
public void setDataBinding(java.lang.String dataBinding)
getInputWrapperType
public DataType<XMLType> getInputWrapperType()
setInputWrapperType
public void setInputWrapperType(DataType<XMLType> inputWrapperType)
getOutputWrapperType
public DataType<XMLType> getOutputWrapperType()
setOutputWrapperType
public void setOutputWrapperType(DataType<XMLType> outputWrapperType)