Package org.xwiki.filter.input
Class AbstractBeanInputFilterStream<P,F>
- java.lang.Object
-
- org.xwiki.filter.input.AbstractBeanInputFilterStream<P,F>
-
- Type Parameters:
F
- the type of the filter supported by thisInputFilterStream
P
- the type of the properties bean
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Initializable
,BeanInputFilterStream<P>
,InputFilterStream
public abstract class AbstractBeanInputFilterStream<P,F> extends Object implements BeanInputFilterStream<P>, Initializable
- Since:
- 6.2M1
- Version:
- $Id: 3b806608849189449e45b8ec63fd2efb4f2a2e29 $
-
-
Field Summary
Fields Modifier and Type Field Description protected Class<F>
filterType
protected P
properties
-
Constructor Summary
Constructors Constructor Description AbstractBeanInputFilterStream()
AbstractBeanInputFilterStream(FilterDescriptorManager filterDescriptorManager, P properties)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
initialize()
void
read(Object filter)
protected abstract void
read(Object filter, F proxyFilter)
void
setProperties(P properties)
-
-
-
Constructor Detail
-
AbstractBeanInputFilterStream
public AbstractBeanInputFilterStream()
-
AbstractBeanInputFilterStream
public AbstractBeanInputFilterStream(FilterDescriptorManager filterDescriptorManager, P properties) throws FilterException
- Throws:
FilterException
-
-
Method Detail
-
setProperties
public void setProperties(P properties) throws FilterException
- Specified by:
setProperties
in interfaceBeanInputFilterStream<P>
- Throws:
FilterException
-
initialize
public void initialize() throws InitializationException
- Specified by:
initialize
in interfaceInitializable
- Throws:
InitializationException
-
read
public void read(Object filter) throws FilterException
- Specified by:
read
in interfaceInputFilterStream
- Throws:
FilterException
-
read
protected abstract void read(Object filter, F proxyFilter) throws FilterException
- Throws:
FilterException
-
-