public class LagartoDomBuilderConfig extends LagartoParserConfig<LagartoDomBuilderConfig>
LagartoDOMBuilder
based on LagartoParserConfig
.Modifier and Type | Field and Description |
---|---|
protected boolean |
collectErrors |
protected float |
condCommentIEVersion |
protected boolean |
enabledVoidTags |
protected boolean |
ignoreComments |
protected boolean |
ignoreWhitespacesBetweenTags |
protected boolean |
impliedEndTags |
protected LagartoHtmlRenderer |
lagartoHtmlRenderer |
protected Logger.Level |
parsingErrorLogLevel |
protected boolean |
selfCloseVoidTags |
protected boolean |
unclosedTagAsOrphanCheck |
protected boolean |
useFosterRules |
calculatePosition, caseSensitive, enableConditionalComments, enableRawTextModes, parseXmlTags
Constructor and Description |
---|
LagartoDomBuilderConfig() |
Modifier and Type | Method and Description |
---|---|
float |
getCondCommentIEVersion() |
LagartoHtmlRenderer |
getLagartoHtmlRenderer() |
Logger.Level |
getParsingErrorLogLevel()
Returns parsing error log level.
|
boolean |
isCollectErrors() |
boolean |
isEnabledVoidTags() |
boolean |
isIgnoreComments() |
boolean |
isIgnoreWhitespacesBetweenTags() |
boolean |
isImpliedEndTags() |
boolean |
isSelfCloseVoidTags() |
boolean |
isUnclosedTagAsOrphanCheck() |
boolean |
isUseFosterRules()
Returns
true if foster rules
should be used. |
LagartoDomBuilderConfig |
setCollectErrors(boolean collectErrors)
Enables error collection during parsing.
|
LagartoDomBuilderConfig |
setCondCommentIEVersion(float condCommentIEVersion) |
LagartoDomBuilderConfig |
setEnabledVoidTags(boolean enabledVoidTags)
Enables usage of void tags.
|
LagartoDomBuilderConfig |
setIgnoreComments(boolean ignoreComments)
Specifies if comments should be ignored in DOM tree.
|
LagartoDomBuilderConfig |
setIgnoreWhitespacesBetweenTags(boolean ignoreWhitespacesBetweenTags)
Specifies if whitespaces between open/closed tags should be ignored.
|
LagartoDomBuilderConfig |
setImpliedEndTags(boolean impliedEndTags)
Enables implied end tags for certain tags.
|
void |
setLagartoHtmlRenderer(LagartoHtmlRenderer lagartoHtmlRenderer) |
LagartoDomBuilderConfig |
setParsingErrorLogLevelName(java.lang.String logLevel)
Sets parsing error log level as a name.
|
LagartoDomBuilderConfig |
setSelfCloseVoidTags(boolean selfCloseVoidTags)
Specifies if void tags should be self closed.
|
LagartoDomBuilderConfig |
setUnclosedTagAsOrphanCheck(boolean unclosedTagAsOrphanCheck) |
LagartoDomBuilderConfig |
setUseFosterRules(boolean useFosterRules) |
_this, isCalculatePosition, isCaseSensitive, isEnableConditionalComments, isEnableRawTextModes, isParseXmlTags, setCalculatePosition, setCaseSensitive, setEnableConditionalComments, setEnableRawTextModes, setParseXmlTags
protected boolean ignoreWhitespacesBetweenTags
protected boolean ignoreComments
protected boolean selfCloseVoidTags
protected boolean collectErrors
protected float condCommentIEVersion
protected boolean enabledVoidTags
protected boolean impliedEndTags
protected Logger.Level parsingErrorLogLevel
protected boolean useFosterRules
protected boolean unclosedTagAsOrphanCheck
protected LagartoHtmlRenderer lagartoHtmlRenderer
public boolean isUnclosedTagAsOrphanCheck()
public LagartoDomBuilderConfig setUnclosedTagAsOrphanCheck(boolean unclosedTagAsOrphanCheck)
public boolean isUseFosterRules()
true
if foster rules
should be used.public LagartoDomBuilderConfig setUseFosterRules(boolean useFosterRules)
public boolean isIgnoreWhitespacesBetweenTags()
public LagartoDomBuilderConfig setIgnoreWhitespacesBetweenTags(boolean ignoreWhitespacesBetweenTags)
public boolean isIgnoreComments()
public LagartoDomBuilderConfig setIgnoreComments(boolean ignoreComments)
public boolean isEnabledVoidTags()
public LagartoDomBuilderConfig setEnabledVoidTags(boolean enabledVoidTags)
public boolean isSelfCloseVoidTags()
public LagartoDomBuilderConfig setSelfCloseVoidTags(boolean selfCloseVoidTags)
public boolean isCollectErrors()
public LagartoDomBuilderConfig setCollectErrors(boolean collectErrors)
public float getCondCommentIEVersion()
public LagartoDomBuilderConfig setCondCommentIEVersion(float condCommentIEVersion)
public boolean isImpliedEndTags()
public LagartoDomBuilderConfig setImpliedEndTags(boolean impliedEndTags)
public Logger.Level getParsingErrorLogLevel()
public LagartoDomBuilderConfig setParsingErrorLogLevelName(java.lang.String logLevel)
public LagartoHtmlRenderer getLagartoHtmlRenderer()
public void setLagartoHtmlRenderer(LagartoHtmlRenderer lagartoHtmlRenderer)
Copyright © 2003-present Jodd Team