jodd.lagarto.dom
Class LagartoDOMBuilder
java.lang.Object
jodd.lagarto.dom.LagartoDOMBuilder
public class LagartoDOMBuilder
- extends java.lang.Object
Lagarto DOM builder creates DOM tree from HTML or XML content.
XML parsing has the following differences:
- no special tags (
script, style, pre)
- empty text nodes are ignored
- tag attributes are case sensitive
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parsingHtml
protected boolean parsingHtml
LagartoDOMBuilder
public LagartoDOMBuilder()
isParsingHtml
public boolean isParsingHtml()
setParsingHtml
public void setParsingHtml(boolean parsingHtml)
- Specifies if content is parsed as HTML (default,
true) or XML (false).
parse
public Document parse(java.lang.CharSequence content)
- Creates DOM tree from provided content.
parse
public Document parse(java.nio.CharBuffer content)
- Creates DOM tree from the provided content.
parse
protected Document parse(LagartoParser lagarto)
Copyright © 2003-2011 Jodd Team