public class MoMLVariableChecker
extends java.lang.Object
Constructor and Description |
---|
MoMLVariableChecker() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
checkCopy(java.lang.String momlToBeChecked,
NamedObj container)
Check for problems in the moml to be copied.
|
java.lang.String |
checkCopy(java.lang.String momlToBeChecked,
NamedObj container,
boolean hideVariables)
Check for problems in the moml to be copied.
|
public java.lang.String checkCopy(java.lang.String momlToBeChecked, NamedObj container) throws IllegalActionException
momlToBeChecked
- The MoML string to be checked.container
- The container in which the string is to be checked.IllegalActionException
- If there is a problem parsing
the string, or validating a variable.public java.lang.String checkCopy(java.lang.String momlToBeChecked, NamedObj container, boolean hideVariables) throws IllegalActionException
momlToBeChecked
- The MoML string to be checked.container
- The container in which the string is to be checked.hideVariables
- If true, add MoML that will make all the found
variables hidden from the user interface when they are copied.IllegalActionException
- If there is a problem parsing
the string, or validating a variable.