JavaFxBuiltInAttributeDescriptor (String name, String parentTagName) { if (FxmlConstants.FX_ID.equals(name)) return new FxIdAttributeDescriptor(parentTagName); if (FxmlConstants.FX_VALUE.equals(name)) return new FxValueAttributeDescriptor(parentTagName); if (FxmlConstants.FX_CONSTANT.equals(name)) return new FxConstantAttributeDescriptor(parentTagName); return new JavaFxBuiltInAttributeDescriptor(name, parentTagName); }