public class DesignPatternGetMoMLAction
extends java.lang.Object
Red (tfeng) |
Red (tfeng) |
Constructor and Description |
---|
DesignPatternGetMoMLAction() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMoml(NamedObj object,
java.lang.String name)
Generate the Moml string for the given object.
|
void |
overrideParameter(java.lang.String name,
java.lang.String expression)
Add a parameter and expression to the map of parameters
to override.
|
public java.lang.String getMoml(NamedObj object, java.lang.String name)
NamedObj.exportMoML(String)
.object
- The object.name
- The name to be used for the object in the generated Moml.public void overrideParameter(java.lang.String name, java.lang.String expression)
name
- The name of the parameter.expression
- The expression of the parameter.