public class ResourceHandlingOptions
extends java.lang.Object
Represents resource handling options.
Constructor and Description |
---|
ResourceHandlingOptions() |
Modifier and Type | Method and Description |
---|---|
int |
getDefault()
Gets or sets enum which represents default way of resources handling.
|
int |
getJavaScript()
Gets or sets enum which represents the way scripts are handled.
|
int |
getMaxHandlingDepth()
Gets or sets maximum depth of resource which will be handled.
|
int |
getUrlRestriction()
Gets or sets restriction applied to URLs of handled resources.
|
void |
setDefault(int value)
Gets or sets enum which represents default way of resources handling.
|
void |
setJavaScript(int value)
Gets or sets enum which represents the way scripts are handled.
|
void |
setMaxHandlingDepth(int value)
Gets or sets maximum depth of resource which will be handled.
|
void |
setUrlRestriction(int value)
Gets or sets restriction applied to URLs of handled resources.
|
public int getJavaScript()
Gets or sets enum which represents the way scripts are handled. Currently ResourceHandling.Save
, ResourceHandling.Discard
and ResourceHandling.Embed
values are supported. Default value is ResourceHandling.Save
.
public void setJavaScript(int value)
Gets or sets enum which represents the way scripts are handled. Currently ResourceHandling.Save
, ResourceHandling.Discard
and ResourceHandling.Embed
values are supported. Default value is ResourceHandling.Save
.
public int getDefault()
Gets or sets enum which represents default way of resources handling. Currently ResourceHandling.Save
and ResourceHandling.Embed
values are supported. Default value is ResourceHandling.Save
.
public void setDefault(int value)
Gets or sets enum which represents default way of resources handling. Currently ResourceHandling.Save
and ResourceHandling.Embed
values are supported. Default value is ResourceHandling.Save
.
public int getUrlRestriction()
Gets or sets restriction applied to URLs of handled resources. Default value is UrlRestriction.RootAndSubFolders
.
public void setUrlRestriction(int value)
Gets or sets restriction applied to URLs of handled resources. Default value is UrlRestriction.RootAndSubFolders
.
public int getMaxHandlingDepth()
Gets or sets maximum depth of resource which will be handled. Depth of 1 means that only resources directly referenced from the saved document will be handled. Setting this property to -1 will lead to handling of all resources. Default value is 3.
public void setMaxHandlingDepth(int value)
Gets or sets maximum depth of resource which will be handled. Depth of 1 means that only resources directly referenced from the saved document will be handled. Setting this property to -1 will lead to handling of all resources. Default value is 3.