public static final class Configuration.Cleanup extends Enum
An enum containing cleanup constants.
Modifier and Type | Field and Description |
---|---|
static Configuration.Cleanup |
CYBERNEKO
Indicates that the CyberNeko HTML parser will be used to perform a
cleanup when loading a non-well-formed document.
|
static Configuration.Cleanup |
JTIDY
Indicates that JTidy will be used to perform a cleanup when loading a
non-well-formed document.
|
static Configuration.Cleanup |
NONE
Indicates that no cleanup will be performed when loading a document.
|
static Configuration.Cleanup |
TAGSOUP
Indicates that tagsoup will be used to perform a
cleanup when loading a non-well-formed document.
|
Modifier and Type | Method and Description |
---|---|
static Configuration.Cleanup |
valueOf(String name) |
static Configuration.Cleanup[] |
values() |
public static final Configuration.Cleanup CYBERNEKO
Indicates that the CyberNeko HTML parser will be used to perform a cleanup when loading a non-well-formed document.
public static final Configuration.Cleanup JTIDY
Indicates that JTidy will be used to perform a cleanup when loading a non-well-formed document.
public static final Configuration.Cleanup NONE
Indicates that no cleanup will be performed when loading a document. If the loaded document is not well-formed, an exception will be thrown.
public static final Configuration.Cleanup TAGSOUP
Indicates that tagsoup will be used to perform a cleanup when loading a non-well-formed document.
public static Configuration.Cleanup[] values()
public static Configuration.Cleanup valueOf(String name)
This doc was generated on 2020-09-17. Copyright © 2002-2020 RealObjects GmbH. All Rights Reserved.