public static String readBoundClassName(File formFile) throws IOException, AlienFormFileException {
    try (BufferedInputStream in = new BufferedInputStream(new FileInputStream(formFile))) {
      final Ref<String> result = new Ref<>(null);
      final Ref<Boolean> isAlien = new Ref<>(Boolean.FALSE);
      parse(in, new IXMLBuilderAdapter() {
        @Override
        public void startElement(final String elemName, final String nsPrefix, final String nsURI, final String systemID, final int lineNr) {
          if (!FORM_TAG.equalsIgnoreCase(elemName)) {
            stop();
          }
          boolean alien = !Utils.FORM_NAMESPACE.equalsIgnoreCase(nsURI);
          if (alien) {
            isAlien.set(Boolean.TRUE);
            stop();
          }
        }

        @Override
        public void addAttribute(final String key, final String nsPrefix, final String nsURI, final String value, final String type) {
          if (UIFormXmlConstants.ATTRIBUTE_BIND_TO_CLASS.equals(key)) {
            result.set(value);
            stop();
          }
        }

        @Override
        public void elementAttributesProcessed(final String name, final String nsPrefix, final String nsURI) {
          stop();
        }
      });
      if (isAlien.get()) {
        throw new AlienFormFileException();
      }
      return result.get();
    }
  }
public static String readBoundClassName(File formFile)