1 16 19 package org.apache.xalan.processor; 20 21 import org.apache.xalan.templates.ElemParam; 22 import org.apache.xalan.templates.ElemTemplateElement; 23 24 29 class ProcessorGlobalParamDecl extends ProcessorTemplateElem 30 { 31 32 43 protected void appendAndPush( 44 StylesheetHandler handler, ElemTemplateElement elem) 45 throws org.xml.sax.SAXException 46 { 47 48 handler.pushElemTemplateElement(elem); 50 } 51 52 63 public void endElement( 64 StylesheetHandler handler, String uri, String localName, String rawName) 65 throws org.xml.sax.SAXException 66 { 67 68 ElemParam v = (ElemParam) handler.getElemTemplateElement(); 69 70 handler.getStylesheet().appendChild(v); 71 handler.getStylesheet().setParam(v); 72 super.endElement(handler, uri, localName, rawName); 73 } 74 } 75 | Popular Tags |