public class MwsResponseMetadata extends AbstractMwsObject
| Constructor and Description |
|---|
MwsResponseMetadata() |
| Modifier and Type | Method and Description |
|---|---|
String |
getRequestId()
Gets the request id.
|
void |
readFragmentFrom(MwsReader r)
Read from a reader not including any enclosing tags/markers.
|
void |
setRequestId(String value)
Set the request id.
|
void |
writeFragmentTo(MwsWriter w)
Write the inner contents to a writer.
|
void |
writeTo(MwsWriter w)
Write the entire object to a writer.
|
toJSON, toJSONFragment, toXML, toXMLFragmentpublic String getRequestId()
public void setRequestId(String value)
value - The request id.public void writeFragmentTo(MwsWriter w)
MwsObjectAttributes are written. Then the inner values are written. No begin or end markers are written.
w - The write to write to.public void readFragmentFrom(MwsReader r)
MwsObjectFor XML reads inner tags for elements but not the enclosing tag. This method will read attributes if the reader is positioned on a start tag otherwise it will not act as if no attributes were present.
For JSON reads the name: elements but not the enclosing braces.
r - The reader to read from.Copyright © 2014. All Rights Reserved.