public enum PreBuiltCharFilters extends Enum<PreBuiltCharFilters>
Enum Constant and Description |
---|
HTML_STRIP |
Modifier and Type | Field and Description |
---|---|
protected PreBuiltCacheFactory.PreBuiltCache<CharFilterFactory> |
cache |
Modifier and Type | Method and Description |
---|---|
abstract Reader |
create(Reader tokenStream,
Version version) |
CharFilterFactory |
getCharFilterFactory(Version version) |
static PreBuiltCharFilters |
getOrDefault(String name,
PreBuiltCharFilters defaultCharFilter)
Get a pre built CharFilter by its name or fallback to the default one
|
static PreBuiltCharFilters |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PreBuiltCharFilters[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreBuiltCharFilters HTML_STRIP
protected final PreBuiltCacheFactory.PreBuiltCache<CharFilterFactory> cache
public static PreBuiltCharFilters[] values()
for (PreBuiltCharFilters c : PreBuiltCharFilters.values()) System.out.println(c);
public static PreBuiltCharFilters valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic CharFilterFactory getCharFilterFactory(Version version)
public static PreBuiltCharFilters getOrDefault(String name, PreBuiltCharFilters defaultCharFilter)
name
- CharFilter namedefaultCharFilter
- default CharFilter if name not foundCopyright © 2009–2016. All rights reserved.