When this class is registered with the MoMLParser.setMoMLFilter()
method, it will cause MoMLParser to filter so that models from
earlier releases will run in the current release.
This class will filter for relations that have a width equal to zero
for Ptolemy versions 7.2.devel or older. The width value will be changed
from 0 to -1, which is the new default for width inference.
If the width has not been specified for a models with Ptolemy version
less than 7.2.devel, the width will be changed to 1. This because 1
used to be the default value, while now -1 has become the default.
Make modifications to the specified container, which is
defined in a MoML element with the specified name.
This method is called when an end element in MoML is
encountered. A typical use of this method is to make
some modification to the object (the container) that
If an implementor makes changes to the specified container,
then it should call MoMLParser.setModified(true) which indicates
that the model was modified so that the user can optionally
save the modified model.
container - The object defined by the element that this
is the end of.
elementName - The element name.
currentCharData - The character data, which appears
only in the doc and configure elements
xmlFile - The file currently being parsed.
java.lang.Exception - If there is a problem modifying the
public java.lang.String toString()
Return a string that describes what the filter does.