KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > wsrp > consumer > URLRewriter


1 package org.exoplatform.services.wsrp.consumer;
2
3 import org.exoplatform.services.wsrp.exceptions.WSRPException;
4
5 /**
6  * <p>This interface provides a method performing Consumer URLRewriting.</p>
7  *
8  * @author <a HREF="mailto:stefan.behl@de.ibm.com">Stefan Behl</a>
9  * @author Benjamin Mestrallet
10  */

11 public interface URLRewriter {
12
13   /**
14    * Parses the entire markup and rewrites all found URLs. The URLs to be
15    * rewritten are enclosed by the tokens "wsrp-rewrite" and "/wsrp-rewrite".
16    */

17   public String JavaDoc rewriteURLs(String JavaDoc baseURL, String JavaDoc markup) throws WSRPException;
18
19 }
20
Popular Tags