/** * Factory method * * @param configurationElement the XML node from which to parse the instance * (can be <code>null</code>) * @return <code>null</code> if a <code>null</code> element is given * @since 1.2.0 */ public static Configuration getInstance(final Element configurationElement) { if (configurationElement == null) { return null; } return new Configuration(configurationElement); }