public abstract class XmlWriter extends java.lang.Object implements ApiRequestWriter
| Constructor and Description |
|---|
XmlWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
attribute(java.lang.String key,
boolean value) |
protected void |
attribute(java.lang.String key,
byte value) |
protected void |
attribute(java.lang.String key,
double value) |
protected void |
attribute(java.lang.String key,
float value) |
protected void |
attribute(java.lang.String key,
int value) |
protected void |
attribute(java.lang.String key,
long value) |
protected void |
attribute(java.lang.String key,
java.lang.String value) |
protected void |
begin(java.lang.String name) |
protected void |
end() |
java.lang.String |
getContentType() |
protected void |
text(java.lang.String text) |
protected abstract void |
write() |
void |
write(java.io.OutputStream out) |
public final java.lang.String getContentType()
getContentType in interface ApiRequestWriterpublic final void write(java.io.OutputStream out)
throws java.io.IOException
write in interface ApiRequestWriterjava.io.IOExceptionprotected final void begin(java.lang.String name)
throws java.io.IOException
java.io.IOExceptionprotected final void end()
throws java.io.IOException
java.io.IOExceptionprotected final void attribute(java.lang.String key,
java.lang.String value)
throws java.io.IOException
java.io.IOExceptionprotected final void attribute(java.lang.String key,
float value)
throws java.io.IOException
java.io.IOExceptionprotected final void attribute(java.lang.String key,
double value)
throws java.io.IOException
java.io.IOExceptionprotected final void attribute(java.lang.String key,
int value)
throws java.io.IOException
java.io.IOExceptionprotected final void attribute(java.lang.String key,
long value)
throws java.io.IOException
java.io.IOExceptionprotected final void attribute(java.lang.String key,
byte value)
throws java.io.IOException
java.io.IOExceptionprotected final void attribute(java.lang.String key,
boolean value)
throws java.io.IOException
java.io.IOExceptionprotected final void text(java.lang.String text)
throws java.io.IOException
java.io.IOExceptionprotected abstract void write()
throws java.io.IOException
java.io.IOException