|
Evolvica Core API Version 0.6.2 Last Modified: June 29 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.evolvica.engine.AlgorithmWriter
Algorithm writer.
Constructor Summary | |
AlgorithmWriter()
|
Method Summary | |
org.w3c.dom.Document |
createDocument(IAlgorithm algorithm)
Creates a XML document from a given algorithm. |
void |
write(org.w3c.dom.Document document,
java.io.OutputStream stream)
Writes an XML algorithm document to an output stream. |
void |
write(IAlgorithm algorithm,
java.io.OutputStream stream)
Writes an algorithm to an output stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AlgorithmWriter()
Method Detail |
public void write(org.w3c.dom.Document document, java.io.OutputStream stream) throws javax.xml.transform.TransformerConfigurationException, javax.xml.transform.TransformerException
document
- document to writestream
- output stream to write to
javax.xml.transform.TransformerConfigurationException
- thrown if XML transformation fails
javax.xml.transform.TransformerException
- thrown if XML transformation failspublic void write(IAlgorithm algorithm, java.io.OutputStream stream) throws SerializationException, javax.xml.transform.TransformerConfigurationException, javax.xml.transform.TransformerException
algorithm
- algorithm to writestream
- output stream to write to
SerializationException
- thrown in case the XML document could not be created
javax.xml.transform.TransformerConfigurationException
- thrown if XML transformation fails
javax.xml.transform.TransformerException
- thrown if XML transformation failspublic org.w3c.dom.Document createDocument(IAlgorithm algorithm) throws SerializationException
algorithm
- algorithm to be transformed
SerializationException
- thrown in case the document could not be created
|
Evolvica Core API Version 0.6.2 Last Modified: June 29 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |