Lines Matching defs:stylesheet
35 import org.apache.xalan.templates.Stylesheet;
82 // Literal Result Template as stylesheet.
85 handler.getProcessorFor(Constants.S_XSLNAMESPACEURL, "stylesheet",
86 "xsl:stylesheet");
90 Stylesheet stylesheet;
93 stylesheet = getStylesheetRoot(handler);
100 // stylesheet.setDOMBackPointer(handler.getOriginatingNode());
111 stylesheet.setLocaterInfo(slocator);
112 stylesheet.setPrefixes(handler.getNamespaceSupport());
113 handler.pushStylesheet(stylesheet);
152 // allowed on a stylesheet.
154 stylesheetProcessor.setPropertiesFromAttributes(handler, "stylesheet",
155 stylesheetAttrs, stylesheet);
166 if (stylesheet.getDeclaredPrefixes() == null ||
167 !declaredXSLNS(stylesheet))
176 handler.pushElemTemplateElement(stylesheet);
184 XPath rootMatch = new XPath("/", stylesheet, stylesheet, XPath.MATCH,
190 stylesheet.setTemplate(template);
212 else if (p instanceof Stylesheet)
214 Stylesheet parentElem = (Stylesheet) p;
317 * @return an object that represents the stylesheet element.
319 protected Stylesheet getStylesheetRoot(StylesheetHandler handler) throws TransformerConfigurationException
321 StylesheetRoot stylesheet;
322 stylesheet = new StylesheetRoot(handler.getSchema(), handler.getStylesheetProcessor().getErrorListener());
324 stylesheet.setSecureProcessing(true);
326 return stylesheet;
356 private boolean declaredXSLNS(Stylesheet stylesheet)
358 List declaredPrefixes = stylesheet.getDeclaredPrefixes();