KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > tomcat > transform > JspWriterImplAdapter


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.tomcat.transform;
5
6 import com.tc.asm.ClassAdapter;
7 import com.tc.asm.ClassVisitor;
8 import com.tc.object.bytecode.ClassAdapterFactory;
9 import com.tc.object.bytecode.StringGetCharsAdapter;
10
11 public class JspWriterImplAdapter extends StringGetCharsAdapter implements ClassAdapterFactory {
12
13   public JspWriterImplAdapter() {
14     super(null, null);
15   }
16   
17   private JspWriterImplAdapter(ClassVisitor cv, ClassLoader JavaDoc caller) {
18     super(cv, new String JavaDoc[] { ".*" });
19   }
20
21   public ClassAdapter create(ClassVisitor visitor, ClassLoader JavaDoc loader) {
22     return new JspWriterImplAdapter(visitor, loader);
23   }
24
25 }
26
Popular Tags