protected FXFormNode createFXFormNode(Element element, FactoryProvider factoryProvider, String suffixId) {
Callback<Void, FXFormNode> factory = factoryProvider.getFactory(element);
if (factory == null) {
logger.log(Level.WARNING, "No factory found for " + element + ", using " + factoryProvider + "\nCheck your factory provider.");
Label label = new Label();
return new FXFormNodeWrapper(label, label.textProperty());
}
FXFormNode fxFormNode = factory.call(null);
fxFormNode.getNode().setId(element.getName() + suffixId);
return fxFormNode;
}