fr.fluxmedia.tmcontrib.generator
Class tidy
java.lang.Object
fr.fluxmedia.transmorpher.engine.TProcess_Impl
fr.fluxmedia.transmorpher.engine.TProcessBasic
fr.fluxmedia.transmorpher.engine.TReader
fr.fluxmedia.tmcontrib.generator.tidy
- All Implemented Interfaces:
- TProcess, java.lang.Runnable
public final class tidy
- extends TReader
read a HTML file which coordinates (local path or URL) is give in the
file parameter of the generate call, parse it, process it through TIDY
and generate a SAX event flow to the next handler
- Author:
- Jérôme.Euzenat@inrialpes.fr, Fabien.Triolet@inrialpes.fr
Field Summary |
protected javax.xml.transform.sax.SAXTransformerFactory |
tfactory
|
Fields inherited from class fr.fluxmedia.transmorpher.engine.TReader |
DEFAULT_NAMESPACES, DEFAULT_NAMESPACES_PREFIXES, DEFAULT_SCHEMA_VALIDATION, DEFAULT_VALIDATION, iFilename, inSource, iReader, isRunning, LEXICAL_HANDLER_PROPERTY_ID, NAMESPACES_FEATURE_ID, NAMESPACES_PREFIXES_FEATURE_ID, SCHEMA_VALIDATION_FEATURE_ID, standardInput, VALIDATION_FEATURE_ID |
Method Summary |
void |
read()
Description of the Method |
Methods inherited from class fr.fluxmedia.transmorpher.engine.TProcess_Impl |
bindParameters, getFatherName, getId, getIn, getIn, getIn, getName, getNameIn, getNameIn, getNameOut, getNameOut, getOut, getOut, getOut, getParameter, getParameterNames, getParameters, reset, setDebug, setFatherName, setId, setIn, setName, setOut, setParameter, setParameters |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tfactory
protected javax.xml.transform.sax.SAXTransformerFactory tfactory
tidy
public tidy(java.lang.String[] pOut,
Parameters pParam,
StringParameters pStaticAttributes)
throws org.xml.sax.SAXException,
java.io.IOException
- Constructor for the tidy object
- Parameters:
pOut
- Description of the ParameterpParam
- Description of the ParameterpStaticAttributes
- Description of the Parameter
- Throws:
org.xml.sax.SAXException
- Description of the Exception
java.io.IOException
- Description of the Exception
read
public void read()
throws java.io.IOException,
org.xml.sax.SAXException,
TMRuntimeException
- Description of the Method
- Specified by:
read
in class TReader
- Throws:
java.io.IOException
- I/O error in either
org.xml.sax.SAXException
- Parsing error
TMRuntimeException
- Tidy processing error
..no bottom yet...