public abstract static class ResponseBuilder.AttachmentBuilder extends ResponseBuilder
ResponseBuilder.AttachmentBuilder, ResponseBuilder.Body, ResponseBuilder.Composite, ResponseBuilder.DocLit, ResponseBuilder.Header, ResponseBuilder.None, ResponseBuilder.NullSetter, ResponseBuilder.RpcLit, ResponseBuilder.WrappedPartBuilder
Modifier and Type | Field and Description |
---|---|
protected ParameterImpl |
param |
protected ValueSetter |
setter |
NONE, wrappedParts, wrapperName
Constructor and Description |
---|
ResponseBuilder.AttachmentBuilder(ParameterImpl param,
ValueSetter setter) |
Modifier and Type | Method and Description |
---|---|
static ResponseBuilder |
createAttachmentBuilder(ParameterImpl param,
ValueSetter setter)
Creates an AttachmentBuilder based on the parameter type
|
(package private) abstract Object |
mapAttachment(Attachment att,
Object[] args) |
Object |
readResponse(Message msg,
Object[] args)
Reads a response
Message , disassembles it, and moves obtained Java values
to the expected places. |
getVMUninitializedValue, getWSDLPartName, readWrappedResponse
protected final ValueSetter setter
protected final ParameterImpl param
ResponseBuilder.AttachmentBuilder(ParameterImpl param, ValueSetter setter)
public static ResponseBuilder createAttachmentBuilder(ParameterImpl param, ValueSetter setter)
param
- runtime Parameter that abstracts the annotated java parametersetter
- specifies how the obtained value is set into the argument. Takes
care of Holder arguments.public Object readResponse(Message msg, Object[] args) throws JAXBException, javax.xml.stream.XMLStreamException
ResponseBuilder
Message
, disassembles it, and moves obtained Java values
to the expected places.readResponse
in class ResponseBuilder
msg
- The reply Message
to be de-composed.args
- The Java arguments given to the SEI method invocation.
Some parts of the reply message may be set to Holder
s in the arguments.JAXBException
- if there's an error during unmarshalling the reply message.javax.xml.stream.XMLStreamException
- if there's an error during unmarshalling the reply message.abstract Object mapAttachment(Attachment att, Object[] args) throws JAXBException
JAXBException
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.