com.novell.xsl.parser
Class WithParamParser
java.lang.Object
com.novell.xsl.parser.WithParamParser
- public class WithParamParser
- extends Object
Parser for xsl:with-param
element
Method Summary |
static Template |
parse(StylesheetParser stylesheetParser,
Element element)
Parses the specified xsl:with-param element and returns the
result as a VariableTemplate object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WithParamParser
public WithParamParser()
parse
public static Template parse(StylesheetParser stylesheetParser,
Element element)
throws XSLTParserException
- Parses the specified
xsl:with-param
element and returns the
result as a VariableTemplate
object.
- Parameters:
stylesheetParser
- The StylesheetParser
for which the element is to be parsed.element
- the xsl:variable
element to be parsed
- Returns:
- the
WithParamTemplate
object for the parsed
element, or null
if one could not be
created because of a non-fatal error
- Throws:
XSLTParserException
- if a fatal error occurs during parsing