1 16 19 package org.apache.xalan.templates; 20 21 import org.apache.xml.utils.FastStringBuffer; 22 import org.apache.xpath.XPathContext; 23 24 28 public class AVTPartSimple extends AVTPart 29 { 30 31 35 private String m_val; 36 37 41 public AVTPartSimple(String val) 42 { 43 m_val = val; 44 } 45 46 51 public String getSimpleString() 52 { 53 return m_val; 54 } 55 56 66 public void fixupVariables(java.util.Vector vars, int globalsSize) 67 { 68 } 70 71 72 84 public void evaluate(XPathContext xctxt, FastStringBuffer buf, 85 int context, 86 org.apache.xml.utils.PrefixResolver nsNode) 87 { 88 buf.append(m_val); 89 } 90 93 public void callVisitors(XSLTVisitor visitor) 94 { 95 } 97 98 } 99 | Popular Tags |