gate.sgml
Class Sgml2Xml

java.lang.Object
  extended by gate.sgml.Sgml2Xml

public class Sgml2Xml
extends Object

Not so fast... This class is not a realy Sgml2Xml convertor. It takes an SGML document and tries to prepare it for an XML parser For a true conversion we need an Java SGML parser... If you know one let me know.... What does it do:

What doesn't:


Constructor Summary
Sgml2Xml(Document doc)
          The other constructor
Sgml2Xml(String SgmlDoc)
          The constructor initialises some member fields
 
Method Summary
 String convert()
          This method is responsable with document conversion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sgml2Xml

public Sgml2Xml(String SgmlDoc)
The constructor initialises some member fields

Parameters:
SgmlDoc - the content of the Sgml document that will be modified

Sgml2Xml

public Sgml2Xml(Document doc)
The other constructor

Parameters:
doc - The Gate document that will be transformed to XML
Method Detail

convert

public String convert()
               throws IOException,
                      MalformedURLException
This method is responsable with document conversion

Throws:
IOException
MalformedURLException