/**
     * This method expands the URIInfo from the tree.
     *
     * @param uris The list of URIs
     * @param uri The URI string
     */
    public void extractURIInfo(List<URIInfo> uris, String uri) {

      if (endpointType != null) {
        URIInfo info = new URIInfo();
        info.setUri(uri);
        info.setEndpointType(endpointType);
        uris.add(info);
      }

      if (getChildren() != null) {
        for (String child : getChildren().keySet()) {
          URIPart part = getChildren().get(child);

          part.extractURIInfo(uris, uri + "/" + child);
        }
      }
    }