org.xwiki.wikistream.descriptor
Class DefaultWikiStreamBeanDescriptor

java.lang.Object
  extended by org.xwiki.wikistream.descriptor.DefaultWikiStreamBeanDescriptor
All Implemented Interfaces:
WikiStreamBeanDescriptor, WikiStreamDescriptor

@Unstable
public class DefaultWikiStreamBeanDescriptor
extends Object
implements WikiStreamBeanDescriptor

Since:
5.2M2
Version:
$Id: dac163ff1dba95efb5923b47475151f8749a9e25 $

Constructor Summary
DefaultWikiStreamBeanDescriptor(String name, String description, org.xwiki.properties.BeanDescriptor parametersBeanDescriptor)
           
 
Method Summary
protected  void extractParameters()
           
 Class<?> getBeanClass()
           
 String getDescription()
           
 String getName()
           
 Collection<WikiStreamPropertyDescriptor<?>> getProperties()
           
<T> WikiStreamPropertyDescriptor<T>
getPropertyDescriptor(String propertyName)
          Return descriptor for the provided property name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultWikiStreamBeanDescriptor

public DefaultWikiStreamBeanDescriptor(String name,
                                       String description,
                                       org.xwiki.properties.BeanDescriptor parametersBeanDescriptor)
Parameters:
name -
description -
parametersBeanDescriptor -
Method Detail

extractParameters

protected void extractParameters()

getName

public String getName()
Specified by:
getName in interface WikiStreamDescriptor
Returns:
human readable name of wiki stream input source type.

getDescription

public String getDescription()
Specified by:
getDescription in interface WikiStreamDescriptor
Returns:
the description of the wiki stream

getPropertyDescriptor

public <T> WikiStreamPropertyDescriptor<T> getPropertyDescriptor(String propertyName)
Description copied from interface: WikiStreamDescriptor
Return descriptor for the provided property name. The property name is not case sensitive.

Specified by:
getPropertyDescriptor in interface WikiStreamDescriptor
Parameters:
propertyName - the name of the property
Returns:
the descriptor of the property.

getProperties

public Collection<WikiStreamPropertyDescriptor<?>> getProperties()
Specified by:
getProperties in interface WikiStreamDescriptor
Returns:
the properties of wiki stream.

getBeanClass

public Class<?> getBeanClass()
Specified by:
getBeanClass in interface WikiStreamBeanDescriptor
Returns:
the class of the JAVA bean containing.


Copyright © 2004-2013 XWiki. All Rights Reserved.