public class DefaultContentDescriptor extends Object implements ContentDescriptor
ContentDescriptor.| Constructor and Description |
|---|
DefaultContentDescriptor()
Default constructor.
|
DefaultContentDescriptor(boolean mandatory) |
DefaultContentDescriptor(String description) |
DefaultContentDescriptor(String description,
boolean mandatory) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
boolean |
isMandatory() |
public DefaultContentDescriptor()
public DefaultContentDescriptor(String description)
description - the description of the content.public DefaultContentDescriptor(boolean mandatory)
mandatory - indicate if the content is mandatory.public DefaultContentDescriptor(String description, boolean mandatory)
description - the description of the content.mandatory - indicate if the content is mandatory.public String getDescription()
getDescription in interface ContentDescriptorpublic boolean isMandatory()
isMandatory in interface ContentDescriptorCopyright © 2004–2016 XWiki. All rights reserved.