public class ParseSettings extends Object
Modifier and Type | Field and Description |
---|---|
static ParseSettings |
htmlDefault
HTML default settings: both tag and attribute names are lower-cased during parsing.
|
private boolean |
preserveAttributeCase |
static ParseSettings |
preserveCase
Preserve both tag and attribute case.
|
private boolean |
preserveTagCase |
Constructor and Description |
---|
ParseSettings(boolean tag,
boolean attribute)
Define parse settings.
|
Modifier and Type | Method and Description |
---|---|
(package private) String |
normalizeAttribute(String name) |
(package private) Attributes |
normalizeAttributes(Attributes attributes) |
(package private) String |
normalizeTag(String name) |
public static final ParseSettings htmlDefault
public static final ParseSettings preserveCase
private final boolean preserveTagCase
private final boolean preserveAttributeCase
public ParseSettings(boolean tag, boolean attribute)
tag
- preserve tag case?attribute
- preserve attribute name case?String normalizeTag(String name)
String normalizeAttribute(String name)
Attributes normalizeAttributes(Attributes attributes)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses