return newRepresentation((String) null);
}
@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;
}