public abstract class AbstractFilterStreamDescriptor extends Object implements FilterStreamDescriptor
Modifier and Type | Field and Description |
---|---|
protected String |
description
The description of the macro.
|
protected String |
name |
protected Map<String,FilterStreamPropertyDescriptor<?>> |
parameterDescriptorMap
A map containing the
FilterStreamPropertyDescriptor for each parameters supported for this filter. |
Constructor and Description |
---|
AbstractFilterStreamDescriptor(String name,
String description) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
String |
getName() |
Collection<FilterStreamPropertyDescriptor<?>> |
getProperties() |
<T> FilterStreamPropertyDescriptor<T> |
getPropertyDescriptor(String propertyName)
Return descriptor for the provided property name.
|
protected String description
protected Map<String,FilterStreamPropertyDescriptor<?>> parameterDescriptorMap
FilterStreamPropertyDescriptor
for each parameters supported for this filter.
The Map
keys are lower cased for easier case insensitive search, to get the "real" name of the property
use FilterStreamPropertyDescriptor.getName()
.
public String getName()
getName
in interface FilterStreamDescriptor
public String getDescription()
getDescription
in interface FilterStreamDescriptor
public <T> FilterStreamPropertyDescriptor<T> getPropertyDescriptor(String propertyName)
FilterStreamDescriptor
getPropertyDescriptor
in interface FilterStreamDescriptor
T
- the type of value associated to this propertypropertyName
- the name of the propertypublic Collection<FilterStreamPropertyDescriptor<?>> getProperties()
getProperties
in interface FilterStreamDescriptor
Copyright © 2004–2021 XWiki. All rights reserved.