public interface XMLProducer
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String xml)
Adds an XML fragment to the internal XML store
|
void |
clear()
Clears the internal state.
|
java.lang.String |
toXML()
Returns the interaction assertions as a XML blob.
|
void |
toXML(java.io.Writer writer)
Returns the xml description of the object.
|
void clear()
void add(java.lang.String xml)
xml
- the XML fragment to be added.void toXML(java.io.Writer writer) throws java.io.IOException
writer
- is a Writer opened and ready for writing. This can also
be a StringWriter for efficient output.java.io.IOException
- if something fishy happens to the stream.java.lang.String toXML() throws java.io.IOException
java.io.IOException
- if something fishy happens to the stream.