ptolemy.moml.filter
Class BackwardCompatibility
java.lang.Object
ptolemy.moml.filter.BackwardCompatibility
- public class BackwardCompatibility
- extends java.lang.Object
Return a list where each element is a backward compatibility filter
to be applied by the MoMLParser.
When this class is registered with
MoMLParser.addMoMLFilters(BackwardCompatibility.allFilters())
method, it will cause MoMLParser to filter so that models from
earlier releases will run in the current release.
- Since:
- Ptolemy II 2.0
- Version:
- $Id: BackwardCompatibility.java,v 1.21 2004/04/13 05:12:31 cxh Exp $
- Author:
- Christopher Hylands, Edward A. Lee
- See Also:
MoMLFilter
- Accepted Rating:
- Proposed Rating:
|
Method Summary |
static java.util.List |
allFilters()
Return a list where each element of the list is a
MoMLFilter to be applied to handle backward compatibility |
java.lang.String |
toString()
Return a string that describes all the filters |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BackwardCompatibility
public BackwardCompatibility()
allFilters
public static java.util.List allFilters()
- Return a list where each element of the list is a
MoMLFilter to be applied to handle backward compatibility
toString
public java.lang.String toString()
- Return a string that describes all the filters
- Returns:
- the String that describes all the filters and that ends with a
newline.