|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.excalibur.xml.sax.JTidyHTMLParser
Converter for transforming an input stream contain text/html data to SAX events.
| Field Summary |
| Fields inherited from interface org.apache.excalibur.xml.sax.SAXParser |
ROLE |
| Constructor Summary | |
JTidyHTMLParser()
|
|
| Method Summary | |
void |
configure(Configuration configuration)
Pass the Configuration to the Configurable
class. |
void |
initialize()
Initialize the component. |
void |
parse(org.xml.sax.InputSource in,
org.xml.sax.ContentHandler consumer)
Parse the InputSource and send
SAX events to the consumer. |
void |
parse(org.xml.sax.InputSource in,
org.xml.sax.ContentHandler contentHandler,
org.xml.sax.ext.LexicalHandler lexicalHandler)
Parse the InputSource and send
SAX events to the content handler and
the lexical handler. |
void |
service(ServiceManager serviceManager)
Pass the ServiceManager to the Serviceable. |
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JTidyHTMLParser()
| Method Detail |
public void service(ServiceManager serviceManager)
throws ServiceException
ServiceableServiceManager to the Serviceable.
The Serviceable implementation should use the specified
ServiceManager to acquire the components it needs for
execution.
service in interface ServiceableserviceManager - The ServiceManager which this
Serviceable uses. Must not be null.
ServiceException - if an error occurs
public void configure(Configuration configuration)
throws ConfigurationException
ConfigurableConfiguration to the Configurable
class.
configure in interface Configurableconfiguration - the class configurations. Must not be null.
ConfigurationException - if an error occurs
public void initialize()
throws java.lang.Exception
Initializable
initialize in interface Initializablejava.lang.Exception - if an error occurs
public void parse(org.xml.sax.InputSource in,
org.xml.sax.ContentHandler contentHandler,
org.xml.sax.ext.LexicalHandler lexicalHandler)
throws org.xml.sax.SAXException,
java.io.IOException
SAXParserInputSource and send
SAX events to the content handler and
the lexical handler.
parse in interface SAXParserorg.xml.sax.SAXException
java.io.IOException
public void parse(org.xml.sax.InputSource in,
org.xml.sax.ContentHandler consumer)
throws org.xml.sax.SAXException,
java.io.IOException
SAXParserInputSource and send
SAX events to the consumer.
Attention: the consumer can implement the
LexicalHandler as well.
The parse should take care of this.
parse in interface SAXParserorg.xml.sax.SAXException
java.io.IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||