All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.prismic.SimpleLinkResolver Maven / Gradle / Ivy

Go to download

The developer kit to access Prismic.io repositories using the Java language.

The newest version!
package io.prismic;

/**
 * @deprecated as of 2.0 {@link LinkResolver} has default methods (made
 * possible by a Java 8 baseline) and can be implemented directly without the
 * need for this adapter
 */
@Deprecated
public abstract class SimpleLinkResolver implements LinkResolver {

  public abstract String resolve(Fragment.DocumentLink link);

  @Override
  public String resolve(Document document) {
    return resolve(document.asDocumentLink());
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy