01: /*
02: * Copyright 2001 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05: package com.sun.portal.rewriter;
06:
07: import com.sun.portal.rewriter.util.uri.PageSpec;
08:
09: /**
10: * Interface which defines all the required method for plugging in the custom
11: * client side (JavaScript) code for rewritting the URL's.
12: */
13: public interface JSFunctionSpec {
14: public String getExpressionFunctionName();
15:
16: public String getSystemFunctionName();
17:
18: public String getExpressionFunctionDefination(
19: final PageSpec aPageSpec);
20:
21: public String getSystemFunctionDefination(final PageSpec aPageSpec);
22:
23: public String readAll(final PageSpec aPageSpec);
24:
25: }//interface JSFunctionSpec
|