public class NekoSimplifiedHtmlParser extends GadgetHtmlParser
| Modifier and Type | Class and Description |
|---|---|
protected class |
NekoSimplifiedHtmlParser.DocumentHandler
Handler for XNI events from Neko
|
documentFactory, PARSED_DOCUMENTS, PARSED_FRAGMENTS| Constructor and Description |
|---|
NekoSimplifiedHtmlParser(DOMImplementation documentFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected org.cyberneko.html.HTMLConfiguration |
newConfiguration() |
protected NekoSimplifiedHtmlParser.DocumentHandler |
newDocumentHandler(String source) |
protected Document |
parseDomImpl(String source)
TODO: remove the need for parseDomImpl as a parsing method.
|
protected DocumentFragment |
parseFragmentImpl(String source) |
attemptFullDocParseFirst, errorDom, parseDom, parseFragment, prependToNode, setCacheProvider, setSerializerProvider, shouldCache, transferChildren@Inject public NekoSimplifiedHtmlParser(DOMImplementation documentFactory)
protected Document parseDomImpl(String source) throws GadgetException
GadgetHtmlParserparseDomImpl in class GadgetHtmlParsersource - a piece of HTMLGadgetExceptionprotected DocumentFragment parseFragmentImpl(String source) throws GadgetException
parseFragmentImpl in class GadgetHtmlParsersource - a snippet of HTML markupGadgetExceptionprotected org.cyberneko.html.HTMLConfiguration newConfiguration()
protected NekoSimplifiedHtmlParser.DocumentHandler newDocumentHandler(String source)
Copyright © 2007-2012. All Rights Reserved.