org.jfree.layouting.modules.output.html

Class SingleRepositoryURLRewriter

public class SingleRepositoryURLRewriter extends Object implements URLRewriter

This URL-Rewriter assumes that both the content and data entity have been created from the same repository. This one builds a relative URL connecting the data entity with the content.

Author: Thomas Morgner

Constructor Summary
SingleRepositoryURLRewriter()
Method Summary
Stringrewrite(ContentEntity sourceDocument, ContentEntity dataEntity)

Constructor Detail

SingleRepositoryURLRewriter

public SingleRepositoryURLRewriter()

Method Detail

rewrite

public String rewrite(ContentEntity sourceDocument, ContentEntity dataEntity)