|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Transform
This class repairs invalid HTML & javascript code produced by IHMC Concept Map Tools, v2.9.1. This code is experimental and is recommended only for testing purposes.
Constructor Summary | |
Transform()
|
Method Summary | |
void |
doTransform()
Perform actual transforming & element cleanup. |
void |
fromFile(java.lang.String filename)
Creates a DOM representation of an XML document given in filename. |
static void |
main(java.lang.String[] argv)
Main program. |
void |
toStream(java.io.Writer os)
Transforms DOM representation to stream using XHTML 1.0 Transitional doctype. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Transform()
Method Detail |
public void fromFile(java.lang.String filename) throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException, java.io.IOException
filename
- input file
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
java.io.IOException
public void doTransform()
public void toStream(java.io.Writer os) throws javax.xml.transform.TransformerException
os
- Writer output stream writer
javax.xml.transform.TransformerException
public static void main(java.lang.String[] argv)
argv
- Input arguments. First argument is used as input file, second as output file.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |