Class XMLOutput

java.lang.Object
  extended byXMLOutput

public class XMLOutput
extends java.lang.Object


Constructor Summary
XMLOutput()
          Create an instance of XMLOutput.
 
Method Summary
 java.lang.String toXML(YaspPoem poem)
          Make some funny xml-code out of a given YaspPoem.
 void toXMLFile(java.lang.String fileName)
          Take the xml output of this.toXML() and write it to a file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLOutput

public XMLOutput()
Create an instance of XMLOutput.

Method Detail

toXML

public java.lang.String toXML(YaspPoem poem)
Make some funny xml-code out of a given YaspPoem.

Parameters:
poem - the YaspPoem to process.

toXMLFile

public void toXMLFile(java.lang.String fileName)
               throws java.io.IOException
Take the xml output of this.toXML() and write it to a file. NB Is NOT implemented!!

Throws:
java.io.IOException