public Map<String, String> getMetadata() {
        return metadata;
    }
Returns any metadata collected through metadata expressions while this
context was reading the XML events from the XML document.

@return A map of any metadata collected through metadata expressions
        while this context was reading the XML document.
aws-java-sdk-core/src/main/java/com/amazonaws/transform/StaxUnmarshallerContext.java