/** * Set an "xsl:template" property. * @see <a href="http://www.w3.org/TR/xslt#section-Defining-Template-Rules">section-Defining-Template-Rules in XSLT Specification</a> * * @param v ElemTemplate to add to list of templates */ public void setTemplate(ElemTemplate v) { if (null == m_templates) m_templates = new Vector(); m_templates.addElement(v); v.setStylesheet(this); }
/** * Set an "xsl:template" property. * @see <a href="http://www.w3.org/TR/xslt#section-Defining-Template-Rules">section-Defining-Template-Rules in XSLT Specification</a> * * @param v ElemTemplate to add to list of templates */ public void setTemplate(ElemTemplate v) { if (null == m_templates) m_templates = new Vector(); m_templates.addElement(v); v.setStylesheet(this); }
/** * Replace an "xsl:template" property. * This is a hook for CompilingStylesheetHandler, to allow * us to access a template, compile it, instantiate it, * and replace the original with the compiled instance. * ADDED 9/5/2000 to support compilation experiment * * @param v Compiled template to replace with * @param i Index of template to be replaced * * @throws TransformerException */ public void replaceTemplate(ElemTemplate v, int i) throws TransformerException { if (null == m_templates) throw new ArrayIndexOutOfBoundsException(); replaceChild(v, (ElemTemplateElement)m_templates.elementAt(i)); m_templates.setElementAt(v, i); v.setStylesheet(this); }
/** * Replace an "xsl:template" property. * This is a hook for CompilingStylesheetHandler, to allow * us to access a template, compile it, instantiate it, * and replace the original with the compiled instance. * ADDED 9/5/2000 to support compilation experiment * * @param v Compiled template to replace with * @param i Index of template to be replaced * * @throws TransformerException */ public void replaceTemplate(ElemTemplate v, int i) throws TransformerException { if (null == m_templates) throw new ArrayIndexOutOfBoundsException(); replaceChild(v, (ElemTemplateElement)m_templates.elementAt(i)); m_templates.setElementAt(v, i); v.setStylesheet(this); }
m_defaultRule.setStylesheet(this); m_defaultTextRule.setStylesheet(this); m_defaultRootRule.setStylesheet(this);
m_defaultRule.setStylesheet(this); m_defaultTextRule.setStylesheet(this); m_defaultRootRule.setStylesheet(this);
/** * Constructor WhiteSpaceInfo * @param thisSheet The current stylesheet */ public WhiteSpaceInfo(Stylesheet thisSheet) { setStylesheet(thisSheet); }
/** * Constructor WhitespaceInfoPaths * * @param thisSheet The current stylesheet */ public WhitespaceInfoPaths(Stylesheet thisSheet) { super(thisSheet); setStylesheet(thisSheet); }
/** * Constructor WhitespaceInfoPaths * * @param thisSheet The current stylesheet */ public WhitespaceInfoPaths(Stylesheet thisSheet) { super(thisSheet); setStylesheet(thisSheet); }
/** * Constructor WhiteSpaceInfo * @param thisSheet The current stylesheet */ public WhiteSpaceInfo(Stylesheet thisSheet) { setStylesheet(thisSheet); }
/** * Set an "xsl:template" property. * @see <a href="http://www.w3.org/TR/xslt#section-Defining-Template-Rules">section-Defining-Template-Rules in XSLT Specification</a> * * @param v ElemTemplate to add to list of templates */ public void setTemplate(ElemTemplate v) { if (null == m_templates) m_templates = new Vector(); m_templates.addElement(v); v.setStylesheet(this); }
/** * Set an "xsl:template" property. * @see <a href="http://www.w3.org/TR/xslt#section-Defining-Template-Rules">section-Defining-Template-Rules in XSLT Specification</a> * * @param v ElemTemplate to add to list of templates */ public void setTemplate(ElemTemplate v) { if (null == m_templates) m_templates = new Vector(); m_templates.addElement(v); v.setStylesheet(this); }
/** * Set an "xsl:template" property. * @see <a href="http://www.w3.org/TR/xslt#section-Defining-Template-Rules">section-Defining-Template-Rules in XSLT Specification</a> * * @param v ElemTemplate to add to list of templates */ public void setTemplate(ElemTemplate v) { if (null == m_templates) m_templates = new Vector(); m_templates.addElement(v); v.setStylesheet(this); }
/** * Set an "xsl:template" property. * @see <a href="http://www.w3.org/TR/xslt#section-Defining-Template-Rules">section-Defining-Template-Rules in XSLT Specification</a> * * @param v ElemTemplate to add to list of templates */ public void setTemplate(ElemTemplate v) { if (null == m_templates) m_templates = new Vector(); m_templates.addElement(v); v.setStylesheet(this); }
/** * Set an "xsl:template" property. * @see <a href="http://www.w3.org/TR/xslt#section-Defining-Template-Rules">section-Defining-Template-Rules in XSLT Specification</a> * * @param v ElemTemplate to add to list of templates */ public void setTemplate(ElemTemplate v) { if (null == m_templates) m_templates = new Vector(); m_templates.addElement(v); v.setStylesheet(this); }
/** * Set an "xsl:template" property. * @see <a href="http://www.w3.org/TR/xslt#section-Defining-Template-Rules">section-Defining-Template-Rules in XSLT Specification</a> * * @param v ElemTemplate to add to list of templates */ public void setTemplate(ElemTemplate v) { if (null == m_templates) m_templates = new Vector(); m_templates.addElement(v); v.setStylesheet(this); }
/** * Set an "xsl:template" property. * @see <a href="http://www.w3.org/TR/xslt#section-Defining-Template-Rules">section-Defining-Template-Rules in XSLT Specification</a> * * @param v ElemTemplate to add to list of templates */ public void setTemplate(ElemTemplate v) { if (null == m_templates) m_templates = new Vector(); m_templates.addElement(v); v.setStylesheet(this); }
/** * Set an "xsl:template" property. * @see <a href="http://www.w3.org/TR/xslt#section-Defining-Template-Rules">section-Defining-Template-Rules in XSLT Specification</a> * * @param v ElemTemplate to add to list of templates */ public void setTemplate(ElemTemplate v) { if (null == m_templates) m_templates = new Vector(); m_templates.addElement(v); v.setStylesheet(this); }
/** * Set an "xsl:template" property. * @see <a href="http://www.w3.org/TR/xslt#section-Defining-Template-Rules">section-Defining-Template-Rules in XSLT Specification</a> * * @param v ElemTemplate to add to list of templates */ public void setTemplate(ElemTemplate v) { if (null == m_templates) m_templates = new Vector(); m_templates.addElement(v); v.setStylesheet(this); }
/** * Constructor WhiteSpaceInfo * * * @param matchPattern Match pattern * @param shouldStripSpace Flag indicating whether or not * to strip whitespaces * @param thisSheet The current stylesheet */ public WhiteSpaceInfo(XPath matchPattern, boolean shouldStripSpace, Stylesheet thisSheet) { m_shouldStripSpace = shouldStripSpace; setMatch(matchPattern); setStylesheet(thisSheet); }