@Override
  public Representation newRepresentation(String href) {
    MutableRepresentation representation = new MutableRepresentation(this, href);

    // Add factory standard namespaces
    for (Map.Entry<String, String> entry : namespaceManager.getNamespaces().entrySet()) {
      representation.withNamespace(entry.getKey(), entry.getValue());
    }

    // Add factory standard links
    for (Link link : links) {
      representation.withLink(
          link.getRel(),
          link.getHref(),
          link.getName(),
          link.getTitle(),
          link.getHreflang(),
          link.getProfile());
    }

    return representation;
  }
 @Override
 public DefaultRepresentationFactory withNamespace(String namespace, String href) {
   namespaceManager.withNamespace(namespace, href);
   return this;
 }