Package org.xwiki.filter.script
Class FilterScriptService
- java.lang.Object
-
- org.xwiki.filter.script.AbstractFilterScriptService
-
- org.xwiki.filter.script.FilterScriptService
-
- All Implemented Interfaces:
org.xwiki.script.service.ScriptService
@Component @Named("filter") @Singleton public class FilterScriptService extends AbstractFilterScriptServiceExpose various FilterStream related APIs to scripts.- Since:
- 6.2M1
- Version:
- $Id: bedccd645354ebf3bfb534c20adbac9ede917532 $
-
-
Field Summary
Fields Modifier and Type Field Description static StringROLEHINT-
Fields inherited from class org.xwiki.filter.script.AbstractFilterScriptService
execution, EXTENSIONERROR_KEY, scriptProvider
-
-
Constructor Summary
Constructors Constructor Description FilterScriptService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.xwiki.job.Jobconvert(org.xwiki.filter.type.FilterStreamType inputType, Map<String,Object> inputProperties, org.xwiki.filter.type.FilterStreamType outputType, boolean folded, Map<String,Object> outputProperties)org.xwiki.job.Jobconvert(org.xwiki.filter.type.FilterStreamType inputType, Map<String,Object> inputProperties, org.xwiki.filter.type.FilterStreamType outputType, Map<String,Object> outputProperties)org.xwiki.filter.output.OutputStreamOutputTargetcreateOutputStreamOutputTarget(OutputStream stream, boolean autoclose)org.xwiki.script.service.ScriptServiceget(String id)Collection<org.xwiki.filter.type.FilterStreamType>getAvailableInputStreams()Collection<org.xwiki.filter.type.FilterStreamType>getAvailableOutputStreams()org.xwiki.job.JobgetCurrentJob()org.xwiki.filter.descriptor.FilterStreamDescriptorgetInputFilterStreamDescriptor(org.xwiki.filter.type.FilterStreamType inputType)org.xwiki.filter.input.InputFilterStreamFactorygetInputFilterStreamFactory(org.xwiki.filter.type.FilterStreamType inputType)org.xwiki.filter.descriptor.FilterStreamDescriptorgetOutputFilterStreamDescriptor(org.xwiki.filter.type.FilterStreamType inputType)org.xwiki.filter.output.OutputFilterStreamFactorygetOutputFilterStreamFactory(org.xwiki.filter.type.FilterStreamType outputType)org.xwiki.job.JobstartConvert(org.xwiki.filter.type.FilterStreamType inputType, Map<String,Object> inputProperties, org.xwiki.filter.type.FilterStreamType outputType, boolean folded, Map<String,Object> outputProperties)org.xwiki.job.JobstartConvert(org.xwiki.filter.type.FilterStreamType inputType, Map<String,Object> inputProperties, org.xwiki.filter.type.FilterStreamType outputType, Map<String,Object> outputProperties)-
Methods inherited from class org.xwiki.filter.script.AbstractFilterScriptService
getLastError, resetError, safe, setError
-
-
-
-
Field Detail
-
ROLEHINT
public static final String ROLEHINT
- See Also:
- Constant Field Values
-
-
Method Detail
-
get
public org.xwiki.script.service.ScriptService get(String id)
-
startConvert
public org.xwiki.job.Job startConvert(org.xwiki.filter.type.FilterStreamType inputType, Map<String,Object> inputProperties, org.xwiki.filter.type.FilterStreamType outputType, Map<String,Object> outputProperties)- Since:
- 6.2M1
-
startConvert
public org.xwiki.job.Job startConvert(org.xwiki.filter.type.FilterStreamType inputType, Map<String,Object> inputProperties, org.xwiki.filter.type.FilterStreamType outputType, boolean folded, Map<String,Object> outputProperties)- Since:
- 8.2RC1
-
convert
public org.xwiki.job.Job convert(org.xwiki.filter.type.FilterStreamType inputType, Map<String,Object> inputProperties, org.xwiki.filter.type.FilterStreamType outputType, Map<String,Object> outputProperties)- Since:
- 6.2M1
-
convert
public org.xwiki.job.Job convert(org.xwiki.filter.type.FilterStreamType inputType, Map<String,Object> inputProperties, org.xwiki.filter.type.FilterStreamType outputType, boolean folded, Map<String,Object> outputProperties)- Since:
- 8.2RC1
-
getCurrentJob
public org.xwiki.job.Job getCurrentJob()
- Since:
- 6.2M1
-
getAvailableInputStreams
public Collection<org.xwiki.filter.type.FilterStreamType> getAvailableInputStreams()
- Since:
- 6.2M1
-
getAvailableOutputStreams
public Collection<org.xwiki.filter.type.FilterStreamType> getAvailableOutputStreams()
- Since:
- 6.2M1
-
getInputFilterStreamDescriptor
public org.xwiki.filter.descriptor.FilterStreamDescriptor getInputFilterStreamDescriptor(org.xwiki.filter.type.FilterStreamType inputType)
- Since:
- 6.2M1
-
getOutputFilterStreamDescriptor
public org.xwiki.filter.descriptor.FilterStreamDescriptor getOutputFilterStreamDescriptor(org.xwiki.filter.type.FilterStreamType inputType)
- Since:
- 6.2M1
-
getInputFilterStreamFactory
public org.xwiki.filter.input.InputFilterStreamFactory getInputFilterStreamFactory(org.xwiki.filter.type.FilterStreamType inputType)
- Since:
- 6.2M1
-
getOutputFilterStreamFactory
public org.xwiki.filter.output.OutputFilterStreamFactory getOutputFilterStreamFactory(org.xwiki.filter.type.FilterStreamType outputType)
- Since:
- 6.2M1
-
createOutputStreamOutputTarget
public org.xwiki.filter.output.OutputStreamOutputTarget createOutputStreamOutputTarget(OutputStream stream, boolean autoclose)
- Since:
- 6.2M1
-
-