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:
parent
f3152ec411
commit
c8f7665177
@ -48,6 +48,9 @@ class TransitionHandler extends BaseHandler<Transition> {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ElementHandler openElement(String element, HashMap<String, String> attributes, WarningSet warnings) {
|
public ElementHandler openElement(String element, HashMap<String, String> attributes, WarningSet warnings) {
|
||||||
|
if (RocksimCommonConstants.ATTACHED_PARTS.equals(element)) {
|
||||||
|
return new AttachedPartsHandler(transition);
|
||||||
|
}
|
||||||
return PlainTextHandler.INSTANCE;
|
return PlainTextHandler.INSTANCE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user