Class HtmlSettings
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.HtmlSettings
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class HtmlSettings
extends com.ibm.cloud.sdk.core.service.model.GenericModel
A list of HTML conversion settings.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HtmlSettings.Builder
Builder. -
Method Summary
Modifier and Type Method Description XPathPatterns
excludeContent()
Gets the excludeContent.List<String>
excludeTagAttributes()
Gets the excludeTagAttributes.List<String>
excludeTagsCompletely()
Gets the excludeTagsCompletely.List<String>
excludeTagsKeepContent()
Gets the excludeTagsKeepContent.XPathPatterns
keepContent()
Gets the keepContent.List<String>
keepTagAttributes()
Gets the keepTagAttributes.HtmlSettings.Builder
newBuilder()
New builder.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a HtmlSettings builder
-
excludeTagsCompletely
Gets the excludeTagsCompletely.Array of HTML tags that are excluded completely.
- Returns:
- the excludeTagsCompletely
-
excludeTagsKeepContent
Gets the excludeTagsKeepContent.Array of HTML tags which are excluded but still retain content.
- Returns:
- the excludeTagsKeepContent
-
keepContent
Gets the keepContent.Object containing an array of XPaths.
- Returns:
- the keepContent
-
excludeContent
Gets the excludeContent.Object containing an array of XPaths.
- Returns:
- the excludeContent
-
keepTagAttributes
Gets the keepTagAttributes.An array of HTML tag attributes to keep in the converted document.
- Returns:
- the keepTagAttributes
-
excludeTagAttributes
Gets the excludeTagAttributes.Array of HTML tag attributes to exclude.
- Returns:
- the excludeTagAttributes
-