public class MacroDescriptor extends Object implements com.google.gwt.user.client.rpc.IsSerializable
NOTE: This class is a serializable, GWT-supported clone of the MacroDescriptor from the rendering module.
| Constructor and Description |
|---|
MacroDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCategory() |
ParameterDescriptor |
getContentDescriptor() |
String |
getDescription() |
String |
getId() |
String |
getName() |
Map<String,ParameterDescriptor> |
getParameterDescriptorMap() |
boolean |
isSupportingInlineMode() |
void |
setCategory(String category)
Sets the macro category.
|
void |
setContentDescriptor(ParameterDescriptor contentDescriptor)
Sets the content descriptor.
|
void |
setDescription(String description)
Sets the macro description.
|
void |
setId(String id)
Sets the identifier of the macro.
|
void |
setName(String name)
Sets the human-readable name of the macro (e.g.
|
void |
setParameterDescriptorMap(Map<String,ParameterDescriptor> parameterDescriptorMap)
Sets the
Map of parameter descriptors. |
void |
setSupportingInlineMode(boolean supportingInlineMode)
Sets the flag which indicates if this macro supports in-line mode.
|
public String getId()
public void setId(String id)
id - a macro identifierpublic String getName()
public void setName(String name)
name - the macro namepublic String getDescription()
public void setDescription(String description)
description - a String representing the macro descriptionpublic String getCategory()
public void setCategory(String category)
category - the macro categorypublic Map<String,ParameterDescriptor> getParameterDescriptorMap()
Map with parameter descriptorspublic void setParameterDescriptorMap(Map<String,ParameterDescriptor> parameterDescriptorMap)
Map of parameter descriptors.parameterDescriptorMap - a Map of parameter descriptorspublic ParameterDescriptor getContentDescriptor()
public void setContentDescriptor(ParameterDescriptor contentDescriptor)
contentDescriptor - the object describing the content of the macropublic boolean isSupportingInlineMode()
true if this macro supports in-line mode, false otherwisepublic void setSupportingInlineMode(boolean supportingInlineMode)
supportingInlineMode - true if this macro is allowed in-line, false otherwiseCopyright © 2004–2014 XWiki. All rights reserved.