public static class Parameters.Builder
extends java.lang.Object
Constructor and Description |
---|
Parameters.Builder()
Instantiates a new builder.
|
Parameters.Builder(Features features)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
Parameters |
build()
Builds a Parameters.
|
Parameters.Builder |
clean(java.lang.Boolean clean)
Set the clean.
|
Parameters.Builder |
fallbackToRaw(java.lang.Boolean fallbackToRaw)
Set the fallbackToRaw.
|
Parameters.Builder |
features(Features features)
Set the features.
|
Parameters.Builder |
html(java.lang.String html)
Set the html.
|
Parameters.Builder |
language(java.lang.String language)
Set the language.
|
Parameters.Builder |
limitTextCharacters(long limitTextCharacters)
Set the limitTextCharacters.
|
Parameters.Builder |
returnAnalyzedText(java.lang.Boolean returnAnalyzedText)
Set the returnAnalyzedText.
|
Parameters.Builder |
text(java.lang.String text)
Set the text.
|
Parameters.Builder |
url(java.lang.String url)
Set the url.
|
Parameters.Builder |
xpath(java.lang.String xpath)
Set the xpath.
|
public Parameters.Builder()
public Parameters.Builder(Features features)
features
- the featurespublic Parameters build()
public Parameters.Builder text(java.lang.String text)
text
- the textpublic Parameters.Builder html(java.lang.String html)
html
- the htmlpublic Parameters.Builder url(java.lang.String url)
url
- the urlpublic Parameters.Builder features(Features features)
features
- the featurespublic Parameters.Builder clean(java.lang.Boolean clean)
clean
- the cleanpublic Parameters.Builder xpath(java.lang.String xpath)
xpath
- the xpathpublic Parameters.Builder fallbackToRaw(java.lang.Boolean fallbackToRaw)
fallbackToRaw
- the fallbackToRawpublic Parameters.Builder returnAnalyzedText(java.lang.Boolean returnAnalyzedText)
returnAnalyzedText
- the returnAnalyzedTextpublic Parameters.Builder language(java.lang.String language)
language
- the languagepublic Parameters.Builder limitTextCharacters(long limitTextCharacters)
limitTextCharacters
- the limitTextCharacters