|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.gwt.wysiwyg.client.plugin.macro.MacroCall
public class MacroCall
Stores information about a macro call.
| Constructor Summary | |
|---|---|
MacroCall()
Creates a new empty macro call. |
|
MacroCall(String startMacroComment)
Creates a new macro call from a start comment node's value. |
|
| Method Summary | |
|---|---|
String |
getArgument(String name)
|
String |
getContent()
|
String |
getName()
|
String |
removeArgument(String name)
Removes the specified argument from this macro call. |
String |
setArgument(String name,
String value)
Sets the value of the specified argument. |
void |
setContent(String content)
Sets the content of the macro. |
void |
setName(String name)
Sets the name of the macro to be called. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MacroCall()
public MacroCall(String startMacroComment)
startMacroComment - the value of a start macro comment| Method Detail |
|---|
public String getName()
public void setName(String name)
name - a macro namepublic String getArgument(String name)
name - the name of an argument
public String setArgument(String name,
String value)
name - the name of the argumentvalue - the value of the argument
null if this argument was not specifiedpublic String removeArgument(String name)
name - the name of a macro parameter
public String getContent()
contentpublic void setContent(String content)
content - the content of the macropublic String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||