Class XmlGenerator
- java.lang.Object
-
- software.amazon.awssdk.protocols.xml.internal.marshall.XmlGenerator
-
@SdkInternalApi public final class XmlGenerator extends Object
Wrapper around theXmlWriterfor marshalling requests for XML protocol
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XmlGeneratorcreate(String xmlns, boolean isS3)voidendElement()voidstartElement(String element)voidstartElement(String element, Map<String,String> attributes)Start to write the elementStringWriterstringWriter()software.amazon.awssdk.protocols.xml.internal.marshall.XmlWriterxmlWriter()
-
-
-
Method Detail
-
create
public static XmlGenerator create(String xmlns, boolean isS3)
-
xmlWriter
public software.amazon.awssdk.protocols.xml.internal.marshall.XmlWriter xmlWriter()
-
stringWriter
public StringWriter stringWriter()
-
startElement
public void startElement(String element)
-
startElement
public void startElement(String element, Map<String,String> attributes)
Start to write the element- Parameters:
element- the element to writeattributes- the attributes
-
endElement
public void endElement()
-
-