/** * When this object is used as a ContentHandler or ContentHandler, it will * create a Templates object, which the caller can get once * the SAX events have been completed. * @return The stylesheet object that was created during * the SAX event process, or null if no stylesheet has * been created. * * Author <a href="mailto:scott_boag@lotus.com">Scott Boag</a> * * */ public Templates getTemplates() { return getStylesheetRoot(); }
/** * When this object is used as a ContentHandler or ContentHandler, it will * create a Templates object, which the caller can get once * the SAX events have been completed. * @return The stylesheet object that was created during * the SAX event process, or null if no stylesheet has * been created. * * Author <a href="mailto:scott_boag@lotus.com">Scott Boag</a> * * */ public Templates getTemplates() { return getStylesheetRoot(); }
if (null != getStylesheetRoot()) getStylesheetRoot().recompose();
if (null != getStylesheetRoot()) getStylesheetRoot().recompose();
/** * Process an expression string into an XPath. * * @param str A non-null reference to a valid or invalid match pattern string. * * @return A non-null reference to an XPath object that represents the string argument. * * @throws javax.xml.transform.TransformerException if the pattern can not be processed. * @see <a href="http://www.w3.org/TR/xslt#patterns">Section 5.2 Patterns in XSLT Specification</a> */ XPath createMatchPatternXPath(String str, ElemTemplateElement owningTemplate) throws javax.xml.transform.TransformerException { ErrorListener handler = m_stylesheetProcessor.getErrorListener(); XPath xpath = new XPath(str, owningTemplate, this, XPath.MATCH, handler, m_funcTable); // Visit the expression, registering namespaces for any extension functions it includes. xpath.callVisitors(xpath, new ExpressionVisitor(getStylesheetRoot())); return xpath; }
/** * Process an expression string into an XPath. * Must be public for access by the AVT class. * * @param str A non-null reference to a valid or invalid XPath expression string. * * @return A non-null reference to an XPath object that represents the string argument. * * @throws javax.xml.transform.TransformerException if the expression can not be processed. * @see <a href="http://www.w3.org/TR/xslt#section-Expressions">Section 4 Expressions in XSLT Specification</a> */ public XPath createXPath(String str, ElemTemplateElement owningTemplate) throws javax.xml.transform.TransformerException { ErrorListener handler = m_stylesheetProcessor.getErrorListener(); XPath xpath = new XPath(str, owningTemplate, this, XPath.SELECT, handler, m_funcTable); // Visit the expression, registering namespaces for any extension functions it includes. xpath.callVisitors(xpath, new ExpressionVisitor(getStylesheetRoot())); return xpath; }
/** * Process an expression string into an XPath. * * @param str A non-null reference to a valid or invalid match pattern string. * * @return A non-null reference to an XPath object that represents the string argument. * * @throws javax.xml.transform.TransformerException if the pattern can not be processed. * @see <a href="http://www.w3.org/TR/xslt#patterns">Section 5.2 Patterns in XSLT Specification</a> */ XPath createMatchPatternXPath(String str, ElemTemplateElement owningTemplate) throws javax.xml.transform.TransformerException { ErrorListener handler = m_stylesheetProcessor.getErrorListener(); XPath xpath = new XPath(str, owningTemplate, this, XPath.MATCH, handler, m_funcTable); // Visit the expression, registering namespaces for any extension functions it includes. xpath.callVisitors(xpath, new ExpressionVisitor(getStylesheetRoot())); return xpath; }
/** * Process an expression string into an XPath. * Must be public for access by the AVT class. * * @param str A non-null reference to a valid or invalid XPath expression string. * * @return A non-null reference to an XPath object that represents the string argument. * * @throws javax.xml.transform.TransformerException if the expression can not be processed. * @see <a href="http://www.w3.org/TR/xslt#section-Expressions">Section 4 Expressions in XSLT Specification</a> */ public XPath createXPath(String str, ElemTemplateElement owningTemplate) throws javax.xml.transform.TransformerException { ErrorListener handler = m_stylesheetProcessor.getErrorListener(); XPath xpath = new XPath(str, owningTemplate, this, XPath.SELECT, handler, m_funcTable); // Visit the expression, registering namespaces for any extension functions it includes. xpath.callVisitors(xpath, new ExpressionVisitor(getStylesheetRoot())); return xpath; }
/** * When this object is used as a ContentHandler or ContentHandler, it will * create a Templates object, which the caller can get once * the SAX events have been completed. * @return The stylesheet object that was created during * the SAX event process, or null if no stylesheet has * been created. * * Author <a href="mailto:scott_boag@lotus.com">Scott Boag</a> * * */ public Templates getTemplates() { return getStylesheetRoot(); }
/** * When this object is used as a ContentHandler or ContentHandler, it will * create a Templates object, which the caller can get once * the SAX events have been completed. * @return The stylesheet object that was created during * the SAX event process, or null if no stylesheet has * been created. * * Author <a href="mailto:scott_boag@lotus.com">Scott Boag</a> * * */ public Templates getTemplates() { return getStylesheetRoot(); }
/** * When this object is used as a ContentHandler or ContentHandler, it will * create a Templates object, which the caller can get once * the SAX events have been completed. * @return The stylesheet object that was created during * the SAX event process, or null if no stylesheet has * been created. * * Author <a href="mailto:scott_boag@lotus.com">Scott Boag</a> * * */ public Templates getTemplates() { return getStylesheetRoot(); }
/** * When this object is used as a ContentHandler or ContentHandler, it will * create a Templates object, which the caller can get once * the SAX events have been completed. * @return The stylesheet object that was created during * the SAX event process, or null if no stylesheet has * been created. * * Author <a href="mailto:scott_boag@lotus.com">Scott Boag</a> * * */ public Templates getTemplates() { return getStylesheetRoot(); }
/** * When this object is used as a ContentHandler or ContentHandler, it will * create a Templates object, which the caller can get once * the SAX events have been completed. * @return The stylesheet object that was created during * the SAX event process, or null if no stylesheet has * been created. * * Author <a href="mailto:scott_boag@lotus.com">Scott Boag</a> * * */ public Templates getTemplates() { return getStylesheetRoot(); }
/** * When this object is used as a ContentHandler or ContentHandler, it will * create a Templates object, which the caller can get once * the SAX events have been completed. * @return The stylesheet object that was created during * the SAX event process, or null if no stylesheet has * been created. * * Author <a href="mailto:scott_boag@lotus.com">Scott Boag</a> * * */ public Templates getTemplates() { return getStylesheetRoot(); }
/** * When this object is used as a ContentHandler or ContentHandler, it will * create a Templates object, which the caller can get once * the SAX events have been completed. * @return The stylesheet object that was created during * the SAX event process, or null if no stylesheet has * been created. * * Author <a href="mailto:scott_boag@lotus.com">Scott Boag</a> * * */ public Templates getTemplates() { return getStylesheetRoot(); }
/** * When this object is used as a ContentHandler or ContentHandler, it will * create a Templates object, which the caller can get once * the SAX events have been completed. * @return The stylesheet object that was created during * the SAX event process, or null if no stylesheet has * been created. * * Author <a href="mailto:scott_boag@lotus.com">Scott Boag</a> * * */ public Templates getTemplates() { return getStylesheetRoot(); }
/** * When this object is used as a ContentHandler or ContentHandler, it will * create a Templates object, which the caller can get once * the SAX events have been completed. * @return The stylesheet object that was created during * the SAX event process, or null if no stylesheet has * been created. * * Author <a href="mailto:scott_boag@lotus.com">Scott Boag</a> * * */ public Templates getTemplates() { return getStylesheetRoot(); }
/** * Process an expression string into an XPath. * Must be public for access by the AVT class. * * @param str A non-null reference to a valid or invalid XPath expression string. * * @return A non-null reference to an XPath object that represents the string argument. * * @throws javax.xml.transform.TransformerException if the expression can not be processed. * @see <a href="http://www.w3.org/TR/xslt#section-Expressions">Section 4 Expressions in XSLT Specification</a> */ public XPath createXPath(String str, ElemTemplateElement owningTemplate) throws javax.xml.transform.TransformerException { ErrorListener handler = m_stylesheetProcessor.getErrorListener(); XPath xpath = new XPath(str, owningTemplate, this, XPath.SELECT, handler, m_funcTable); // Visit the expression, registering namespaces for any extension functions it includes. xpath.callVisitors(xpath, new ExpressionVisitor(getStylesheetRoot())); return xpath; }
/** * Process an expression string into an XPath. * * @param str A non-null reference to a valid or invalid match pattern string. * * @return A non-null reference to an XPath object that represents the string argument. * * @throws javax.xml.transform.TransformerException if the pattern can not be processed. * @see <a href="http://www.w3.org/TR/xslt#patterns">Section 5.2 Patterns in XSLT Specification</a> */ XPath createMatchPatternXPath(String str, ElemTemplateElement owningTemplate) throws javax.xml.transform.TransformerException { ErrorListener handler = m_stylesheetProcessor.getErrorListener(); XPath xpath = new XPath(str, owningTemplate, this, XPath.MATCH, handler, m_funcTable); // Visit the expression, registering namespaces for any extension functions it includes. xpath.callVisitors(xpath, new ExpressionVisitor(getStylesheetRoot())); return xpath; }
/** * Process an expression string into an XPath. * * @param str A non-null reference to a valid or invalid match pattern string. * * @return A non-null reference to an XPath object that represents the string argument. * * @throws javax.xml.transform.TransformerException if the pattern can not be processed. * @see <a href="http://www.w3.org/TR/xslt#patterns">Section 5.2 Patterns in XSLT Specification</a> */ XPath createMatchPatternXPath(String str, ElemTemplateElement owningTemplate) throws javax.xml.transform.TransformerException { ErrorListener handler = m_stylesheetProcessor.getErrorListener(); XPath xpath = new XPath(str, owningTemplate, this, XPath.MATCH, handler, m_funcTable); // Visit the expression, registering namespaces for any extension functions it includes. xpath.callVisitors(xpath, new ExpressionVisitor(getStylesheetRoot())); return xpath; }