public class LagartoParserConfig<T extends LagartoParserConfig<T>>
extends java.lang.Object
LagartoParser
.Modifier and Type | Field and Description |
---|---|
protected boolean |
calculatePosition |
protected boolean |
caseSensitive |
protected boolean |
enableConditionalComments |
protected boolean |
enableRawTextModes |
protected boolean |
parseXmlTags |
Constructor and Description |
---|
LagartoParserConfig() |
Modifier and Type | Method and Description |
---|---|
protected T |
_this() |
boolean |
isCalculatePosition() |
boolean |
isCaseSensitive() |
boolean |
isEnableConditionalComments() |
boolean |
isEnableRawTextModes() |
boolean |
isParseXmlTags()
Returns
true if parsing of XML tags is enabled. |
T |
setCalculatePosition(boolean calculatePosition)
Resolves current position on parsing errors
and for DOM elements.
|
T |
setCaseSensitive(boolean caseSensitive)
Sets the case-sensitive flag for various matching.
|
T |
setEnableConditionalComments(boolean enableConditionalComments)
Enables detection of IE conditional comments.
|
T |
setEnableRawTextModes(boolean enableRawTextModes)
Enables RAW (CDATA) and RCDATA text mode while parsing.
|
T |
setParseXmlTags(boolean parseXmlTags)
Enables parsing of XML tags.
|
protected boolean parseXmlTags
protected boolean enableConditionalComments
protected boolean caseSensitive
protected boolean calculatePosition
protected boolean enableRawTextModes
public boolean isEnableConditionalComments()
protected T _this()
public T setEnableConditionalComments(boolean enableConditionalComments)
public boolean isParseXmlTags()
true
if parsing of XML tags is enabled.public T setParseXmlTags(boolean parseXmlTags)
public boolean isCaseSensitive()
public T setCaseSensitive(boolean caseSensitive)
public boolean isCalculatePosition()
public T setCalculatePosition(boolean calculatePosition)
public boolean isEnableRawTextModes()
public T setEnableRawTextModes(boolean enableRawTextModes)
Copyright © 2003-present Jodd Team