Package org.xwiki.filter.input
Class AbstractBeanInputFilterStreamFactory<P,F>
- java.lang.Object
-
- org.xwiki.filter.AbstractFilterStreamFactory
-
- org.xwiki.filter.AbstractBeanFilterStreamFactory<P>
-
- org.xwiki.filter.input.AbstractBeanInputFilterStreamFactory<P,F>
-
- Type Parameters:
P
- the type of the class containing the parameters of the filterF
- the type of the filter supported by thisInputFilterStream
- All Implemented Interfaces:
Initializable
,FilterStreamFactory
,BeanInputFilterStreamFactory<P>
,InputFilterStreamFactory
public abstract class AbstractBeanInputFilterStreamFactory<P,F> extends AbstractBeanFilterStreamFactory<P> implements BeanInputFilterStreamFactory<P>, Initializable
- Since:
- 6.2M1
- Version:
- $Id: db392b77710cd426a85d28b9ef46b2c5e0dcc29a $
-
-
Field Summary
-
Fields inherited from class org.xwiki.filter.AbstractBeanFilterStreamFactory
beanManager
-
Fields inherited from class org.xwiki.filter.AbstractFilterStreamFactory
descriptor, type
-
-
Constructor Summary
Constructors Constructor Description AbstractBeanInputFilterStreamFactory(FilterStreamType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputFilterStream
createInputFilterStream(Map<String,Object> properties)
BeanInputFilterStream<P>
createInputFilterStream(P properties)
Collection<Class<?>>
getFilterInterfaces()
void
initialize()
-
Methods inherited from class org.xwiki.filter.AbstractBeanFilterStreamFactory
createPropertiesBean, getDescription, getName, getPropertiesBeanClass, setDescription, setName, setPropertiesBeanClass
-
Methods inherited from class org.xwiki.filter.AbstractFilterStreamFactory
getDescriptor, getType, setDescriptor
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.xwiki.filter.FilterStreamFactory
getDescriptor, getType
-
-
-
-
Constructor Detail
-
AbstractBeanInputFilterStreamFactory
public AbstractBeanInputFilterStreamFactory(FilterStreamType type)
-
-
Method Detail
-
initialize
public void initialize() throws InitializationException
- Specified by:
initialize
in interfaceInitializable
- Overrides:
initialize
in classAbstractBeanFilterStreamFactory<P>
- Throws:
InitializationException
-
getFilterInterfaces
public Collection<Class<?>> getFilterInterfaces() throws FilterException
- Specified by:
getFilterInterfaces
in interfaceFilterStreamFactory
- Returns:
- the filters supported by this stream factory
- Throws:
FilterException
- when failing to get filters interfaces
-
createInputFilterStream
public InputFilterStream createInputFilterStream(Map<String,Object> properties) throws FilterException
- Specified by:
createInputFilterStream
in interfaceInputFilterStreamFactory
- Throws:
FilterException
-
createInputFilterStream
public BeanInputFilterStream<P> createInputFilterStream(P properties) throws FilterException
- Specified by:
createInputFilterStream
in interfaceBeanInputFilterStreamFactory<P>
- Throws:
FilterException
-
-