public final class XmlProtocolUnmarshaller extends Object implements XmlErrorUnmarshaller
Modifier and Type | Class and Description |
---|---|
static class |
XmlProtocolUnmarshaller.Builder
Builder for
XmlProtocolUnmarshaller . |
Modifier and Type | Field and Description |
---|---|
static StringToValueConverter.StringToValue<Instant> |
INSTANT_STRING_TO_VALUE |
Modifier and Type | Method and Description |
---|---|
static XmlProtocolUnmarshaller.Builder |
builder() |
<TypeT extends SdkPojo> |
unmarshall(SdkPojo sdkPojo,
SdkHttpFullResponse response) |
<TypeT extends SdkPojo> |
unmarshall(SdkPojo sdkPojo,
XmlElement resultRoot,
SdkHttpFullResponse response)
This method is also used to unmarshall exceptions.
|
public static final StringToValueConverter.StringToValue<Instant> INSTANT_STRING_TO_VALUE
public <TypeT extends SdkPojo> TypeT unmarshall(SdkPojo sdkPojo, SdkHttpFullResponse response)
public <TypeT extends SdkPojo> TypeT unmarshall(SdkPojo sdkPojo, XmlElement resultRoot, SdkHttpFullResponse response)
unmarshall
in interface XmlErrorUnmarshaller
TypeT
- Type being unmarshalled.sdkPojo
- Builder for exception class to unmarshall.resultRoot
- Parsed XML document of response.response
- HTTP response.public static XmlProtocolUnmarshaller.Builder builder()
XmlProtocolUnmarshaller.Builder
instance.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.