public class SoapWriter extends Object
Constructor and Description |
---|
SoapWriter(Writer writer)
Create SoapWriter instance.
|
Modifier and Type | Method and Description |
---|---|
void |
closeQuietly()
Close without causing any exception.
|
void |
flush()
Flush writes to underline stream.
|
void |
write(String text)
Direct write block of text.
|
void |
writeSimpleXMLElement(String elementName,
char[] chars,
int count)
Write XML element with elementName and escaped text.
|
void |
writeSimpleXMLElement(String elementName,
int number)
Write XML element with elementName and escaped uri.
|
void |
writeSimpleXMLElement(String elementName,
String text)
Write XML element with elementName and escaped text.
|
void |
writeSimpleXMLElement(String elementName,
URI uri)
Write XML element with elementName and escaped uri.
|
void |
writeSimpleXMLElement(String elementName,
UUID uuid)
Write XML element with elementName and escaped uuid.
|
public SoapWriter(Writer writer)
writer
- public void flush() throws IOException
IOException
public void closeQuietly()
public void write(String text) throws IOException
text
- source textIOException
public void writeSimpleXMLElement(String elementName, String text) throws IOException
elementName
- XML element nametext
- element textIOException
public void writeSimpleXMLElement(String elementName, char[] chars, int count) throws IOException
elementName
- XML element nametext
- input stream reader with element textIOException
public void writeSimpleXMLElement(String elementName, UUID uuid) throws IOException
elementName
- XML element nameuuid
- element textIOException
public void writeSimpleXMLElement(String elementName, URI uri) throws IOException
elementName
- XML element nameuri
- element textIOException
public void writeSimpleXMLElement(String elementName, int number) throws IOException
elementName
- XML element namenumber
- element textIOException
Copyright © 2013. All Rights Reserved.