public static class HtmlSettings.Builder extends Object
| Constructor and Description | 
|---|
Builder()
Instantiates a new builder. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
HtmlSettings.Builder | 
addExcludeTagAttributes(String excludeTagAttributes)
Adds an excludeTagAttributes to excludeTagAttributes. 
 | 
HtmlSettings.Builder | 
addExcludeTagsCompletely(String excludeTagsCompletely)
Adds an excludeTagsCompletely to excludeTagsCompletely. 
 | 
HtmlSettings.Builder | 
addExcludeTagsKeepContent(String excludeTagsKeepContent)
Adds an excludeTagsKeepContent to excludeTagsKeepContent. 
 | 
HtmlSettings.Builder | 
addKeepTagAttributes(String keepTagAttributes)
Adds an keepTagAttributes to keepTagAttributes. 
 | 
HtmlSettings | 
build()
Builds a HtmlSettings. 
 | 
HtmlSettings.Builder | 
excludeContent(XPathPatterns excludeContent)
Set the excludeContent. 
 | 
HtmlSettings.Builder | 
excludeTagAttributes(List<String> excludeTagAttributes)
Set the excludeTagAttributes. 
 | 
HtmlSettings.Builder | 
excludeTagsCompletely(List<String> excludeTagsCompletely)
Set the excludeTagsCompletely. 
 | 
HtmlSettings.Builder | 
excludeTagsKeepContent(List<String> excludeTagsKeepContent)
Set the excludeTagsKeepContent. 
 | 
HtmlSettings.Builder | 
keepContent(XPathPatterns keepContent)
Set the keepContent. 
 | 
HtmlSettings.Builder | 
keepTagAttributes(List<String> keepTagAttributes)
Set the keepTagAttributes. 
 | 
public HtmlSettings build()
public HtmlSettings.Builder addExcludeTagsCompletely(String excludeTagsCompletely)
excludeTagsCompletely - the new excludeTagsCompletelypublic HtmlSettings.Builder addExcludeTagsKeepContent(String excludeTagsKeepContent)
excludeTagsKeepContent - the new excludeTagsKeepContentpublic HtmlSettings.Builder addKeepTagAttributes(String keepTagAttributes)
keepTagAttributes - the new keepTagAttributespublic HtmlSettings.Builder addExcludeTagAttributes(String excludeTagAttributes)
excludeTagAttributes - the new excludeTagAttributespublic HtmlSettings.Builder excludeTagsCompletely(List<String> excludeTagsCompletely)
excludeTagsCompletely - the excludeTagsCompletelypublic HtmlSettings.Builder excludeTagsKeepContent(List<String> excludeTagsKeepContent)
excludeTagsKeepContent - the excludeTagsKeepContentpublic HtmlSettings.Builder keepContent(XPathPatterns keepContent)
keepContent - the keepContentpublic HtmlSettings.Builder excludeContent(XPathPatterns excludeContent)
excludeContent - the excludeContentpublic HtmlSettings.Builder keepTagAttributes(List<String> keepTagAttributes)
keepTagAttributes - the keepTagAttributespublic HtmlSettings.Builder excludeTagAttributes(List<String> excludeTagAttributes)
excludeTagAttributes - the excludeTagAttributesCopyright © 2021 IBM Cloud. All rights reserved.