docs: @Override
      public void write(Writer out, boolean escapeXML) throws IOException {
          final String url = this.toURL();
          if (escapeXML) {
              StringEscapeUtils.escapeXml(out, url);
          } else {
              out.write(url);
          }
      }