org.pentaho.reporting.engine.classic.core.modules.output.table.html
Class SingleRepositoryURLRewriter

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.modules.output.table.html.SingleRepositoryURLRewriter
All Implemented Interfaces:
URLRewriter

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
 String rewrite(org.pentaho.reporting.libraries.repository.ContentEntity sourceDocument, org.pentaho.reporting.libraries.repository.ContentEntity dataEntity)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleRepositoryURLRewriter

public SingleRepositoryURLRewriter()
Method Detail

rewrite

public String rewrite(org.pentaho.reporting.libraries.repository.ContentEntity sourceDocument,
                      org.pentaho.reporting.libraries.repository.ContentEntity dataEntity)
               throws URLRewriteException
Specified by:
rewrite in interface URLRewriter
Throws:
URLRewriteException