1 15 package org.apache.tapestry.script; 16 17 import org.apache.hivemind.Location; 18 19 20 26 27 class StaticToken extends AbstractToken 28 { 29 private String _text; 30 31 StaticToken(String text, Location location) 32 { 33 super(location); 34 35 _text = text; 36 } 37 38 42 43 public void write(StringBuffer buffer, ScriptSession session) 44 { 45 buffer.append(_text); 46 } 47 48 public void addToken(IScriptToken token) 49 { 50 } 52 } | Popular Tags |