public final class XmlMarshallerContext extends Object
Modifier and Type | Class and Description |
---|---|
static class |
XmlMarshallerContext.Builder
Builder for a
XmlMarshallerContext . |
Constructor and Description |
---|
XmlMarshallerContext(XmlMarshallerContext.Builder builder) |
Modifier and Type | Method and Description |
---|---|
static XmlMarshallerContext.Builder |
builder() |
void |
marshall(MarshallLocation marshallLocation,
Object val)
Convenience method to marshall a nested object (may be simple or structured) at the given location.
|
<T> void |
marshall(MarshallLocation marshallLocation,
T val,
String paramName,
SdkField<T> sdkField)
Convenience method to marshall a nested object (may be simple or structured) at the given location.
|
XmlMarshallerRegistry |
marshallerRegistry() |
XmlProtocolMarshaller |
protocolMarshaller() |
SdkHttpFullRequest.Builder |
request() |
XmlGenerator |
xmlGenerator() |
public XmlMarshallerContext(XmlMarshallerContext.Builder builder)
public XmlGenerator xmlGenerator()
public XmlProtocolMarshaller protocolMarshaller()
public XmlMarshallerRegistry marshallerRegistry()
public SdkHttpFullRequest.Builder request()
SdkHttpFullRequest.Builder
object that can be used to add headers, query params,
modify request URI, etc.public void marshall(MarshallLocation marshallLocation, Object val)
marshallLocation
- Current MarshallLocation
val
- Value to marshall.public <T> void marshall(MarshallLocation marshallLocation, T val, String paramName, SdkField<T> sdkField)
marshallLocation
- Current MarshallLocation
val
- Value to marshall.paramName
- Name of parameter to marshall.public static XmlMarshallerContext.Builder builder()
XmlMarshallerContext
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.