Added an AttachedPartsHandler. This should automatically utilize future OR design functionality such as attaching

fins to a Transition with no changes required to the Rocksim parsing logic.
This commit is contained in:
Doug Pedrick 2012-07-11 19:49:32 +00:00
parent f3152ec411
commit c8f7665177

View File

@ -48,6 +48,9 @@ class TransitionHandler extends BaseHandler<Transition> {
@Override
public ElementHandler openElement(String element, HashMap<String, String> attributes, WarningSet warnings) {
if (RocksimCommonConstants.ATTACHED_PARTS.equals(element)) {
return new AttachedPartsHandler(transition);
}
return PlainTextHandler.INSTANCE;
}