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.
  • Method Details

    • newBuilder

      public HtmlSettings.Builder newBuilder()
      New builder.
      Returns:
      a HtmlSettings builder
    • excludeTagsCompletely

      public List<String> excludeTagsCompletely()
      Gets the excludeTagsCompletely.

      Array of HTML tags that are excluded completely.

      Returns:
      the excludeTagsCompletely
    • excludeTagsKeepContent

      public List<String> excludeTagsKeepContent()
      Gets the excludeTagsKeepContent.

      Array of HTML tags which are excluded but still retain content.

      Returns:
      the excludeTagsKeepContent
    • keepContent

      public XPathPatterns keepContent()
      Gets the keepContent.

      Object containing an array of XPaths.

      Returns:
      the keepContent
    • excludeContent

      public XPathPatterns excludeContent()
      Gets the excludeContent.

      Object containing an array of XPaths.

      Returns:
      the excludeContent
    • keepTagAttributes

      public List<String> keepTagAttributes()
      Gets the keepTagAttributes.

      An array of HTML tag attributes to keep in the converted document.

      Returns:
      the keepTagAttributes
    • excludeTagAttributes

      public List<String> excludeTagAttributes()
      Gets the excludeTagAttributes.

      Array of HTML tag attributes to exclude.

      Returns:
      the excludeTagAttributes