class UrlConverter extends AbstractAttributeConverter {

    /**
     * <p>Constructor for UrlConverter.</p>
     */
    public UrlConverter() {
        super(URI.class);
    }

    /** {@inheritDoc} */
    @Override
    protected URI internalConvert(final Object attribute) {<FILL_FUNCTION_BODY>}
}

        if (attribute instanceof String sAttribute) {
            val s = sAttribute.replaceAll("\\/", "/");
            return CommonHelper.asURI(s);
        }
        return null;
    
<methods>public java.lang.Boolean accept(java.lang.String) ,public java.lang.Object convert(java.lang.Object) <variables>private final non-sealed Class<? extends java.lang.Object> clazz