| org.griphyn.cPlanner.provenance.pasoa.XMLProducer
All known Subclasses: org.griphyn.cPlanner.provenance.pasoa.producer.InMemory,
XMLProducer | public interface XMLProducer (Code) | | A PASOA specific interface to generate various assertions as XML.
author: Karan Vahi version: $Revision: 241 $ |
Method Summary | |
public void | add(String xml) | public void | clear() Clears the internal state. | public void | toXML(Writer writer) Returns the xml description of the object. | public String | toXML() Returns the interaction assertions as a XML blob. |
add | public void add(String xml)(Code) | | Adds an XML fragment to the internal XML store
Parameters: xml - the XML fragment to be added. |
clear | public void clear()(Code) | | Clears the internal state.
|
toXML | public void toXML(Writer writer) throws IOException(Code) | | Returns the xml description of the object. This is used for generating
the partition graph. That is no longer done.
Parameters: writer - is a Writer opened and ready for writing. This can alsobe a StringWriter for efficient output. exception: IOException - if something fishy happens to the stream. |
toXML | public String toXML() throws IOException(Code) | | Returns the interaction assertions as a XML blob.
String exception: IOException - if something fishy happens to the stream. |
|
|