public class LagartoDOMBuilder extends java.lang.Object implements DOMBuilder
Modifier and Type | Field and Description |
---|---|
protected LagartoDomBuilderConfig |
config |
Constructor and Description |
---|
LagartoDOMBuilder() |
Modifier and Type | Method and Description |
---|---|
LagartoDOMBuilder |
disableDebug()
Disables debug mode.
|
protected Document |
doParse(LagartoParser lagartoParser)
Parses the content using provided lagarto parser.
|
LagartoDOMBuilder |
enableDebug()
Enables debug mode.
|
LagartoDOMBuilder |
enableHtmlMode()
Enables HTML5 parsing mode.
|
LagartoDOMBuilder |
enableHtmlPlusMode()
Enables
html mode with additional
and somewhat experimental rules. |
LagartoDOMBuilder |
enableXhtmlMode()
Enables XHTML mode.
|
LagartoDOMBuilder |
enableXmlMode()
Enables XML parsing mode.
|
LagartoDomBuilderConfig |
getConfig() |
Document |
parse(char[] content)
Creates DOM tree from provided content.
|
Document |
parse(java.lang.String content)
Creates DOM tree from the provided content.
|
void |
setConfig(LagartoDomBuilderConfig config) |
protected LagartoDomBuilderConfig config
public LagartoDomBuilderConfig getConfig()
public void setConfig(LagartoDomBuilderConfig config)
public LagartoDOMBuilder enableDebug()
public LagartoDOMBuilder disableDebug()
public LagartoDOMBuilder enableHtmlPlusMode()
html mode
with additional
and somewhat experimental rules.public LagartoDOMBuilder enableHtmlMode()
public LagartoDOMBuilder enableXhtmlMode()
public LagartoDOMBuilder enableXmlMode()
public Document parse(char[] content)
parse
in interface DOMBuilder
public Document parse(java.lang.String content)
parse
in interface DOMBuilder
protected Document doParse(LagartoParser lagartoParser)
Copyright © 2003-present Jodd Team