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: public abstract class AbstractTranslatorHook implements TranslatorHook {
08: protected final Translator rootTranslator;
09:
10: protected AbstractTranslatorHook(final Translator aRootTranslator) {
11: rootTranslator = aRootTranslator;
12: }//constructor
13:
14: public JSFunctionSpec getJSFunctionSpec() {
15: return rootTranslator.getJSFunctionSpec();
16: }//getJSFunctionSpec()
17:
18: }//class AbstractTranslatorHook
|