public abstract static class EndpointArgumentsBuilder.AttachmentBuilder extends EndpointArgumentsBuilder
EndpointArgumentsBuilder.AttachmentBuilder, EndpointArgumentsBuilder.Body, EndpointArgumentsBuilder.Composite, EndpointArgumentsBuilder.DocLit, EndpointArgumentsBuilder.Header, EndpointArgumentsBuilder.None, EndpointArgumentsBuilder.NullSetter, EndpointArgumentsBuilder.RpcLit, EndpointArgumentsBuilder.WrappedPartBuilder| Modifier and Type | Field and Description |
|---|---|
protected ParameterImpl |
param |
protected String |
pname |
protected String |
pname1 |
protected EndpointValueSetter |
setter |
NONE, wrappedParts, wrapperName| Constructor and Description |
|---|
EndpointArgumentsBuilder.AttachmentBuilder(ParameterImpl param,
EndpointValueSetter setter) |
| Modifier and Type | Method and Description |
|---|---|
static EndpointArgumentsBuilder |
createAttachmentBuilder(ParameterImpl param,
EndpointValueSetter setter)
Creates an AttachmentBuilder based on the parameter type
|
(package private) abstract void |
mapAttachment(Attachment att,
Object[] args) |
void |
readRequest(Message msg,
Object[] args)
Reads a request
Message, disassembles it, and moves obtained
Java values to the expected places. |
getVMUninitializedValue, getWSDLPartName, readWrappedRequestprotected final EndpointValueSetter setter
protected final ParameterImpl param
protected final String pname
protected final String pname1
EndpointArgumentsBuilder.AttachmentBuilder(ParameterImpl param, EndpointValueSetter setter)
public static EndpointArgumentsBuilder createAttachmentBuilder(ParameterImpl param, EndpointValueSetter 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 void readRequest(Message msg, Object[] args) throws JAXBException, javax.xml.stream.XMLStreamException
EndpointArgumentsBuilderMessage, disassembles it, and moves obtained
Java values to the expected places.readRequest in class EndpointArgumentsBuildermsg - The request 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 Holders in the arguments.JAXBException - if there's an error during unmarshalling the request message.javax.xml.stream.XMLStreamException - if there's an error during unmarshalling the request message.abstract void mapAttachment(Attachment att, Object[] args) throws JAXBException
JAXBExceptionCopyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.