Beispiel #1
0
    /**
     * Returns path to component from property |path|.
     *
     * @param path Path to property
     * @return Path as string to component
     */
    private String componentPath(Binder.ObjectPath path) {
      this.logger.log(Level.FINER, "path = {0}", path);

      StringBuffer buff = new StringBuffer(path.start.getProperty());
      ObjectPathElement elmt = path.start.getNext();

      while (elmt != null) {
        buff.append('.').append(elmt.getProperty());

        elmt = elmt.getNext();
      } // end of while

      this.logger.log(Level.FINER, "buff = {0}", buff);

      return buff.toString();
    } // end of componentPath