org.xwiki.rendering.macro.descriptor
Class DefaultContentDescriptor
java.lang.Object
org.xwiki.rendering.macro.descriptor.DefaultContentDescriptor
- All Implemented Interfaces:
- ContentDescriptor
public class DefaultContentDescriptor
- extends Object
- implements ContentDescriptor
The default implementation of ContentDescriptor.
- Since:
- 1.9M1
- Version:
- $Id$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultContentDescriptor
public DefaultContentDescriptor()
- Default constructor.
DefaultContentDescriptor
public DefaultContentDescriptor(String description)
- Parameters:
description - the description of the content.
DefaultContentDescriptor
public DefaultContentDescriptor(boolean mandatory)
- Parameters:
mandatory - indicate if the content is mandatory.
DefaultContentDescriptor
public DefaultContentDescriptor(String description,
boolean mandatory)
- Parameters:
description - the description of the content.mandatory - indicate if the content is mandatory.
getDescription
public String getDescription()
- Specified by:
getDescription in interface ContentDescriptor
- Returns:
- the description of the macro content.
isMandatory
public boolean isMandatory()
- Specified by:
isMandatory in interface ContentDescriptor
- Returns:
- indicate if the macro content is mandatory.
Copyright © 2004-2012 XWiki. All Rights Reserved.