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