public static class Configuration.Resource
extends java.lang.Object
Constructor and Description |
---|
Configuration.Resource() |
Configuration.Resource(java.lang.String content,
java.lang.String uri)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Configuration.Resource |
setBeforeDocumentScripts(java.lang.Boolean value)
Use
true to cause PDFreactor to run the
script before all scripts inside the document and false
to run it after. |
Configuration.Resource |
setContent(java.lang.String value)
The content of the resource.
|
Configuration.Resource |
setData(byte[] value)
The binary data of the resource.
|
Configuration.Resource |
setInputSource(InputSource value)
The
InputSource of the resource. |
Configuration.Resource |
setUri(java.lang.String value)
The URI of the resource.
|
public Configuration.Resource()
@Deprecated public Configuration.Resource(java.lang.String content, java.lang.String uri)
public Configuration.Resource setContent(java.lang.String value)
Configuration.Resource
instance.Configuration.setUserStyleSheets(Resource...)
,
Configuration.setXsltStyleSheets(Resource...)
,
Configuration.setUserScripts(Resource...)
public Configuration.Resource setUri(java.lang.String value)
Configuration.Resource
instance.public Configuration.Resource setInputSource(InputSource value)
InputSource
of the resource. Only supported for CSS-type resources.Configuration.Resource
instance.Configuration.setUserStyleSheets(Resource...)
public Configuration.Resource setData(byte[] value)
Configuration.Resource
instance.Configuration.setMergeDocuments(Resource...)
public Configuration.Resource setBeforeDocumentScripts(java.lang.Boolean value)
true
to cause PDFreactor to run the
script before all scripts inside the document and false
to run it after. Only supported for JavaScript-type resources.Configuration.Resource
instance.Configuration.setUserScripts(Resource...)
This doc was generated on 2018-08-13. Copyright © 2002-2018 RealObjects GmbH. All Rights Reserved.