01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.tomcat.transform;
05:
06: import com.tc.asm.ClassAdapter;
07: import com.tc.asm.ClassVisitor;
08: import com.tc.object.bytecode.ClassAdapterFactory;
09: import com.tc.object.bytecode.StringGetCharsAdapter;
10:
11: public class JspWriterImplAdapter extends StringGetCharsAdapter
12: implements ClassAdapterFactory {
13:
14: public JspWriterImplAdapter() {
15: super (null, null);
16: }
17:
18: private JspWriterImplAdapter(ClassVisitor cv, ClassLoader caller) {
19: super (cv, new String[] { ".*" });
20: }
21:
22: public ClassAdapter create(ClassVisitor visitor, ClassLoader loader) {
23: return new JspWriterImplAdapter(visitor, loader);
24: }
25:
26: }
|