public class CajaHtmlParser extends GadgetHtmlParser
documentFactory, PARSED_DOCUMENTS, PARSED_FRAGMENTS| Constructor and Description |
|---|
CajaHtmlParser(DOMImplementation documentFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected com.google.caja.lexer.InputSource |
getInputSource() |
protected com.google.caja.reporting.MessageQueue |
makeMessageQueue() |
protected boolean |
needsDebugData() |
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 CajaHtmlParser(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 com.google.caja.lexer.InputSource getInputSource()
protected com.google.caja.reporting.MessageQueue makeMessageQueue()
protected boolean needsDebugData()
Copyright © 2007-2012. All Rights Reserved.