public class VanillaCajaHtmlParser extends GadgetHtmlParser
documentFactory, PARSED_DOCUMENTS, PARSED_FRAGMENTS| Constructor and Description |
|---|
VanillaCajaHtmlParser(DOMImplementation documentFactory,
boolean needsDebugData) |
| Modifier and Type | Method and Description |
|---|---|
Document |
parseDom(String source) |
protected Document |
parseDomImpl(String source)
TODO: remove the need for parseDomImpl as a parsing method.
|
protected DocumentFragment |
parseFragmentImpl(String source) |
attemptFullDocParseFirst, errorDom, parseFragment, prependToNode, setCacheProvider, setSerializerProvider, shouldCache, transferChildren@Inject public VanillaCajaHtmlParser(DOMImplementation documentFactory, boolean needsDebugData)
public Document parseDom(String source) throws GadgetException
parseDom in class GadgetHtmlParserGadgetExceptionprotected 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 markupGadgetExceptionCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.