|
||||||||||
| 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(java.lang.String startMacroComment)
Creates a new macro call from a start comment node's value. |
|
| Method Summary | |
|---|---|
java.lang.String |
getArgument(java.lang.String name)
|
java.lang.String |
getContent()
|
java.lang.String |
getName()
|
java.lang.String |
removeArgument(java.lang.String name)
Removes the specified argument from this macro call. |
java.lang.String |
setArgument(java.lang.String name,
java.lang.String value)
Sets the value of the specified argument. |
void |
setContent(java.lang.String content)
Sets the content of the macro. |
void |
setName(java.lang.String name)
Sets the name of the macro to be called. |
java.lang.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(java.lang.String startMacroComment)
startMacroComment - the value of a start macro comment| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - a macro namepublic java.lang.String getArgument(java.lang.String name)
name - the name of an argument
public java.lang.String setArgument(java.lang.String name,
java.lang.String value)
name - the name of the argumentvalue - the value of the argument
null if this argument was not specifiedpublic java.lang.String removeArgument(java.lang.String name)
name - the name of a macro parameter
public java.lang.String getContent()
contentpublic void setContent(java.lang.String content)
content - the content of the macropublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||