|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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
Serviceable
ServiceManager
to the Serviceable
.
The Serviceable
implementation should use the specified
ServiceManager
to acquire the components it needs for
execution.
service
in interface Serviceable
serviceManager
- The ServiceManager
which this
Serviceable
uses. Must not be null
.
ServiceException
- if an error occurspublic void configure(Configuration configuration) throws ConfigurationException
Configurable
Configuration
to the Configurable
class.
configure
in interface Configurable
configuration
- the class configurations. Must not be null
.
ConfigurationException
- if an error occurspublic void initialize() throws java.lang.Exception
Initializable
initialize
in interface Initializable
java.lang.Exception
- if an error occurspublic 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
SAXParser
InputSource
and send
SAX events to the content handler and
the lexical handler.
parse
in interface SAXParser
org.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
SAXParser
InputSource
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 SAXParser
org.xml.sax.SAXException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |