public class XmlGenerator extends Object
Modifier and Type | Field and Description |
---|---|
static String |
xmlVersionNumber |
Constructor and Description |
---|
XmlGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
addApplicationProperties(Map properties)
Add application-specific properties to the XML document.
|
void |
addMessageProperties(Map properties)
Add message-specific properties to the XML document.
|
void |
addSignatureRequest(String key,
String bucketName,
Map metadata,
SignatureRequest signatureRequest)
Add a signature request item to the XML document to store the request, and details about
the object the request was related to.
|
String |
generateXml()
Generates an XML document containing metadata information as Property elements.
|
public static final String xmlVersionNumber
public void addSignatureRequest(String key, String bucketName, Map metadata, SignatureRequest signatureRequest)
key
- the key name of the object the signature request applies to.bucketName
- the bucket containing the object.metadata
- the object's metadatasignatureRequest
- the signature request for the object.public void addApplicationProperties(Map properties)
properties
- public void addMessageProperties(Map properties)
properties
- Copyright © 2006–2018. All rights reserved.