Class XmlMarshallerContext
java.lang.Object
software.amazon.awssdk.protocols.xml.internal.marshall.XmlMarshallerContext
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.request()
-
Constructor Details
-
XmlMarshallerContext
-
-
Method Details
-
xmlGenerator
-
protocolMarshaller
-
marshallerRegistry
- Returns:
- Marshaller registry to obtain marshaller implementations for nested types (i.e. lists of objects or maps of string to string).
-
request
- Returns:
- Mutable
SdkHttpFullRequest.Builder
object that can be used to add headers, query params, modify request URI, etc.
-
marshall
Convenience method to marshall a nested object (may be simple or structured) at the given location.- Parameters:
marshallLocation
- CurrentMarshallLocation
val
- Value to marshall.
-
marshall
public <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.- Parameters:
marshallLocation
- CurrentMarshallLocation
val
- Value to marshall.paramName
- Name of parameter to marshall.sdkField
-SdkField
containing metadata about the member being marshalled.
-
builder
- Returns:
- Builder instance to construct a
XmlMarshallerContext
.
-