Package ac.simons.oembed
Interface OembedResponseRenderer
-
public interface OembedResponseRendererThe purpose of this interface is turningOembedResponses into usable chunks of html code.- Author:
- Michael J. Simons, 2014-12-31
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringrender(OembedResponse response, org.jsoup.nodes.Element originalAnchor)Renderes theOembedResponseresponseinto an html string.
-
-
-
Method Detail
-
render
java.lang.String render(OembedResponse response, org.jsoup.nodes.Element originalAnchor)
Renderes theOembedResponseresponseinto an html string. The original anchor is provided for giving more context information.- Parameters:
response- The response that should be handledoriginalAnchor- The anchor that triggered the oembed request. This is a clone of the original object, changes will not be propagated.- Returns:
- An html fragment containt the representation of the given OembedResponse
-
-