/** * This method can be over-ridden by a class that extends this one. * @param handler The calling StylesheetHandler/TemplatesBuilder. */ protected Stylesheet getStylesheetRoot(StylesheetHandler handler) throws TransformerConfigurationException { StylesheetRoot stylesheet; stylesheet = new StylesheetRoot(handler.getSchema(), handler.getStylesheetProcessor().getErrorListener()); if (handler.getStylesheetProcessor().isSecureProcessing()) stylesheet.setSecureProcessing(true); return stylesheet; }
addImports(this, true, importList); int n = getGlobalImportCount(); StylesheetComposed imported = getGlobalImport(i); imported.recompose(recomposableElements); QuickSort2(recomposableElements, 0, recomposableElements.size() - 1); initComposeState(); n = getGlobalImportCount(); StylesheetComposed imported = this.getGlobalImport(i); int includedCount = imported.getIncludeCountComposed(); for (int j = -1; j < includedCount; j++) composeTemplates(included); m_extNsMgr.registerUnregisteredNamespaces(); clearComposeState();
/** * Get information about whether or not whitespace can be stripped. * @see <a href="http://www.w3.org/TR/xslt#strip">strip in XSLT Specification</a> * * @return true if the whitespace can be stripped. */ public boolean canStripWhiteSpace() { StylesheetRoot sroot = this.getStylesheetRoot(); return (null != sroot) ? sroot.canStripWhiteSpace() : false; }
ss.error(XSLTErrorResources.ER_CURRENCY_SIGN_ILLEGAL); // currency sign not allowed QName qname = new QName(dfName, xctxt.getNamespaceContext()); dfs = ss.getDecimalFormatComposed(qname); dfs = ss.getDecimalFormatComposed(new QName(""));
/** * This after the template's children have been composed. */ public void endCompose(StylesheetRoot sroot) throws TransformerException { StylesheetRoot.ComposeState cstate = sroot.getComposeState(); cstate.popStackMark(); }
java.util.List attrSets = stylesheet.getAttributeSetComposed(qname);
return transformer.getStylesheet().getAvailableElements().containsKey( new QName(namespace, methName)) ? XBoolean.S_TRUE : XBoolean.S_FALSE;
/** * Call the compose function for each ElemTemplateElement. * * @param templ non-null reference to template element that will have * the composed method called on it, and will have it's children's composed * methods called. */ void composeTemplates(ElemTemplateElement templ) throws TransformerException { templ.compose(this); for (ElemTemplateElement child = templ.getFirstChildElem(); child != null; child = child.getNextSiblingElem()) { composeTemplates(child); } templ.endCompose(this); }
addImports(imported, true, importList); addImports(included, false, importList);
QuickSort2( v, lo0, hi ); QuickSort2( v, lo, hi0 );
QName qname = new QName(dfName, xctxt.getNamespaceContext()); dfs = ss.getDecimalFormatComposed(qname); dfs = ss.getDecimalFormatComposed(new QName(""));
ss.error(XSLTErrorResources.ER_CURRENCY_SIGN_ILLEGAL); // currency sign not allowed QName qname = new QName(dfName, xctxt.getNamespaceContext()); dfs = ss.getDecimalFormatComposed(qname); dfs = ss.getDecimalFormatComposed(new QName(""));
/** * This after the template's children have been composed. */ public void endCompose(StylesheetRoot sroot) throws TransformerException { StylesheetRoot.ComposeState cstate = sroot.getComposeState(); cstate.popStackMark(); }
java.util.List attrSets = stylesheet.getAttributeSetComposed(qname);
return transformer.getStylesheet().getAvailableElements().containsKey( new QName(namespace, methName)) ? XBoolean.S_TRUE : XBoolean.S_FALSE;
/** * Call the compose function for each ElemTemplateElement. * * @param templ non-null reference to template element that will have * the composed method called on it, and will have it's children's composed * methods called. */ void composeTemplates(ElemTemplateElement templ) throws TransformerException { templ.compose(this); for (ElemTemplateElement child = templ.getFirstChildElem(); child != null; child = child.getNextSiblingElem()) { composeTemplates(child); } templ.endCompose(this); }
addImports(imported, true, importList); addImports(included, false, importList);
QuickSort2( v, lo0, hi ); QuickSort2( v, lo, hi0 );
QName qname = new QName(dfName, xctxt.getNamespaceContext()); dfs = ss.getDecimalFormatComposed(qname); dfs = ss.getDecimalFormatComposed(new QName(""));
addImports(this, true, importList); int n = getGlobalImportCount(); StylesheetComposed imported = getGlobalImport(i); imported.recompose(recomposableElements); QuickSort2(recomposableElements, 0, recomposableElements.size() - 1); initComposeState(); n = getGlobalImportCount(); StylesheetComposed imported = this.getGlobalImport(i); int includedCount = imported.getIncludeCountComposed(); for (int j = -1; j < includedCount; j++) composeTemplates(included); m_extNsMgr.registerUnregisteredNamespaces(); clearComposeState();