void (Element element) { final Attribute attribute = element.getAttribute(NAME); name = attribute != null ? attribute.getValue() : ""; final String script = element.getAttributeValue(SCRIPT); scriptCodeConstraint = script != null ? script : ""; }