1 16 19 package org.apache.xalan.processor; 20 21 import org.apache.xalan.templates.DecimalFormatProperties; 22 import org.xml.sax.Attributes ; 23 24 33 class ProcessorDecimalFormat extends XSLTElementProcessor 34 { 35 36 57 public void startElement( 58 StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes) 59 throws org.xml.sax.SAXException 60 { 61 62 DecimalFormatProperties dfp = new DecimalFormatProperties(handler.nextUid()); 63 64 dfp.setDOMBackPointer(handler.getOriginatingNode()); 65 dfp.setLocaterInfo(handler.getLocator()); 66 67 setPropertiesFromAttributes(handler, rawName, attributes, dfp); 68 handler.getStylesheet().setDecimalFormat(dfp); 69 70 handler.getStylesheet().appendChild(dfp); 71 } 72 } 73 | Popular Tags |