public class HtmlSettings
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
HtmlSettings.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected XPathPatterns |
excludeContent |
protected java.util.List<java.lang.String> |
excludeTagAttributes |
protected java.util.List<java.lang.String> |
excludeTagsCompletely |
protected java.util.List<java.lang.String> |
excludeTagsKeepContent |
protected XPathPatterns |
keepContent |
protected java.util.List<java.lang.String> |
keepTagAttributes |
Modifier | Constructor and Description |
---|---|
protected |
HtmlSettings(HtmlSettings.Builder builder) |
Modifier and Type | Method and Description |
---|---|
XPathPatterns |
excludeContent()
Gets the excludeContent.
|
java.util.List<java.lang.String> |
excludeTagAttributes()
Gets the excludeTagAttributes.
|
java.util.List<java.lang.String> |
excludeTagsCompletely()
Gets the excludeTagsCompletely.
|
java.util.List<java.lang.String> |
excludeTagsKeepContent()
Gets the excludeTagsKeepContent.
|
XPathPatterns |
keepContent()
Gets the keepContent.
|
java.util.List<java.lang.String> |
keepTagAttributes()
Gets the keepTagAttributes.
|
HtmlSettings.Builder |
newBuilder()
New builder.
|
@SerializedName(value="exclude_tags_completely") protected java.util.List<java.lang.String> excludeTagsCompletely
@SerializedName(value="exclude_tags_keep_content") protected java.util.List<java.lang.String> excludeTagsKeepContent
@SerializedName(value="keep_content") protected XPathPatterns keepContent
@SerializedName(value="exclude_content") protected XPathPatterns excludeContent
@SerializedName(value="keep_tag_attributes") protected java.util.List<java.lang.String> keepTagAttributes
@SerializedName(value="exclude_tag_attributes") protected java.util.List<java.lang.String> excludeTagAttributes
protected HtmlSettings(HtmlSettings.Builder builder)
public HtmlSettings.Builder newBuilder()
public java.util.List<java.lang.String> excludeTagsCompletely()
Array of HTML tags that are excluded completely.
public java.util.List<java.lang.String> excludeTagsKeepContent()
Array of HTML tags which are excluded but still retain content.
public XPathPatterns keepContent()
Object containing an array of XPaths.
public XPathPatterns excludeContent()
Object containing an array of XPaths.
public java.util.List<java.lang.String> keepTagAttributes()
An array of HTML tag attributes to keep in the converted document.
public java.util.List<java.lang.String> excludeTagAttributes()
Array of HTML tag attributes to exclude.