Class HtmlSettings.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.HtmlSettings.Builder
- Enclosing class:
- HtmlSettings
public static class HtmlSettings.Builder extends Object
Builder.
- 
Constructor SummaryConstructors Constructor Description Builder()Instantiates a new builder.
- 
Method SummaryModifier and Type Method Description HtmlSettings.BuilderaddExcludeTagAttributes(String excludeTagAttributes)Adds an excludeTagAttributes to excludeTagAttributes.HtmlSettings.BuilderaddExcludeTagsCompletely(String excludeTagsCompletely)Adds an excludeTagsCompletely to excludeTagsCompletely.HtmlSettings.BuilderaddExcludeTagsKeepContent(String excludeTagsKeepContent)Adds an excludeTagsKeepContent to excludeTagsKeepContent.HtmlSettings.BuilderaddKeepTagAttributes(String keepTagAttributes)Adds an keepTagAttributes to keepTagAttributes.HtmlSettingsbuild()Builds a HtmlSettings.HtmlSettings.BuilderexcludeContent(XPathPatterns excludeContent)Set the excludeContent.HtmlSettings.BuilderexcludeTagAttributes(List<String> excludeTagAttributes)Set the excludeTagAttributes.HtmlSettings.BuilderexcludeTagsCompletely(List<String> excludeTagsCompletely)Set the excludeTagsCompletely.HtmlSettings.BuilderexcludeTagsKeepContent(List<String> excludeTagsKeepContent)Set the excludeTagsKeepContent.HtmlSettings.BuilderkeepContent(XPathPatterns keepContent)Set the keepContent.HtmlSettings.BuilderkeepTagAttributes(List<String> keepTagAttributes)Set the keepTagAttributes.
- 
Constructor Details- 
Builderpublic Builder()Instantiates a new builder.
 
- 
- 
Method Details- 
buildBuilds a HtmlSettings.- Returns:
- the new HtmlSettings instance
 
- 
addExcludeTagsCompletelyAdds an excludeTagsCompletely to excludeTagsCompletely.- Parameters:
- excludeTagsCompletely- the new excludeTagsCompletely
- Returns:
- the HtmlSettings builder
 
- 
addExcludeTagsKeepContentAdds an excludeTagsKeepContent to excludeTagsKeepContent.- Parameters:
- excludeTagsKeepContent- the new excludeTagsKeepContent
- Returns:
- the HtmlSettings builder
 
- 
addKeepTagAttributesAdds an keepTagAttributes to keepTagAttributes.- Parameters:
- keepTagAttributes- the new keepTagAttributes
- Returns:
- the HtmlSettings builder
 
- 
addExcludeTagAttributesAdds an excludeTagAttributes to excludeTagAttributes.- Parameters:
- excludeTagAttributes- the new excludeTagAttributes
- Returns:
- the HtmlSettings builder
 
- 
excludeTagsCompletelySet the excludeTagsCompletely. Existing excludeTagsCompletely will be replaced.- Parameters:
- excludeTagsCompletely- the excludeTagsCompletely
- Returns:
- the HtmlSettings builder
 
- 
excludeTagsKeepContentSet the excludeTagsKeepContent. Existing excludeTagsKeepContent will be replaced.- Parameters:
- excludeTagsKeepContent- the excludeTagsKeepContent
- Returns:
- the HtmlSettings builder
 
- 
keepContentSet the keepContent.- Parameters:
- keepContent- the keepContent
- Returns:
- the HtmlSettings builder
 
- 
excludeContentSet the excludeContent.- Parameters:
- excludeContent- the excludeContent
- Returns:
- the HtmlSettings builder
 
- 
keepTagAttributesSet the keepTagAttributes. Existing keepTagAttributes will be replaced.- Parameters:
- keepTagAttributes- the keepTagAttributes
- Returns:
- the HtmlSettings builder
 
- 
excludeTagAttributesSet the excludeTagAttributes. Existing excludeTagAttributes will be replaced.- Parameters:
- excludeTagAttributes- the excludeTagAttributes
- Returns:
- the HtmlSettings builder
 
 
-