1 28 29 package com.caucho.xsl.java; 30 31 import com.caucho.java.JavaWriter; 32 import com.caucho.xml.QName; 33 import com.caucho.xsl.XslParseException; 34 35 38 public class XtpDirectiveCache extends XslNode implements XslTopNode { 39 42 public String getTagName() 43 { 44 return "xtp:directive.cache"; 45 } 46 47 50 public void addAttribute(QName name, String value) 51 throws XslParseException 52 { 53 } 54 55 58 public void addChild(XslNode node) 59 throws XslParseException 60 { 61 if (node == null) 62 return; 63 64 if (node instanceof TextNode) { 65 } 66 else 67 throw error(L.l("'{0}' is not allowed as an xtp:directive.page child.", 68 node)); 69 } 70 71 76 public void generateDeclaration(JavaWriter out) 77 throws Exception 78 { 79 } 81 82 87 public void generate(JavaWriter out) 88 throws Exception 89 { 90 } 91 } 92 | Popular Tags |