@Unstable public abstract class AbstractWikiStreamDescriptor extends Object implements WikiStreamDescriptor
| Modifier and Type | Field and Description |
|---|---|
protected String |
description
The description of the macro.
|
protected String |
name |
protected Map<String,WikiStreamPropertyDescriptor<?>> |
parameterDescriptorMap
A map containing the
WikiStreamPropertyDescriptor for each parameters supported for this wiki stream. |
| Constructor and Description |
|---|
AbstractWikiStreamDescriptor(String name,
String description) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getName() |
Collection<WikiStreamPropertyDescriptor<?>> |
getProperties() |
<T> WikiStreamPropertyDescriptor<T> |
getPropertyDescriptor(String propertyName)
Return descriptor for the provided property name.
|
protected String description
protected Map<String,WikiStreamPropertyDescriptor<?>> parameterDescriptorMap
WikiStreamPropertyDescriptor for each parameters supported for this wiki stream.
The Map keys are lower cased for easier case insensitive search, to get the "real" name of the property
use WikiStreamPropertyDescriptor.getName().
public String getName()
getName in interface WikiStreamDescriptorpublic String getDescription()
getDescription in interface WikiStreamDescriptorpublic <T> WikiStreamPropertyDescriptor<T> getPropertyDescriptor(String propertyName)
WikiStreamDescriptorgetPropertyDescriptor in interface WikiStreamDescriptorpropertyName - the name of the propertypublic Collection<WikiStreamPropertyDescriptor<?>> getProperties()
getProperties in interface WikiStreamDescriptorCopyright © 2004–2014 XWiki. All rights reserved.